Skip to content

Commit b430d09

Browse files
committed
Update test to reflect there are now maximum 16 (real) warnings and errors
1 parent 2270f78 commit b430d09

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎ext/date/tests/oom_date_parse.phpt‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ memory_limit=64M
66
<?php
77
$result = date_parse(str_repeat("\x01", 4 * 1024 * 1024));
88
var_dump(count($result['errors']));
9+
echo $result['errors'][-1], "\n";
910
?>
1011
--EXPECT--
11-
int(1000)
12+
int(17)
13+
There are more than 16 errors, which are not returned

0 commit comments

Comments
 (0)