Commit b430d09e18a for php
commit b430d09e18a124d9aee8b28da2d100e688e40b59
Author: Derick Rethans <github@derickrethans.nl>
Date: Thu Nov 5 15:47:12 2026 +0000
Update test to reflect there are now maximum 16 (real) warnings and errors
diff --git a/ext/date/tests/oom_date_parse.phpt b/ext/date/tests/oom_date_parse.phpt
index c42bcea5b95..6cfb6018a9d 100644
--- a/ext/date/tests/oom_date_parse.phpt
+++ b/ext/date/tests/oom_date_parse.phpt
@@ -6,6 +6,8 @@
<?php
$result = date_parse(str_repeat("\x01", 4 * 1024 * 1024));
var_dump(count($result['errors']));
+echo $result['errors'][-1], "\n";
?>
--EXPECT--
-int(1000)
+int(17)
+There are more than 16 errors, which are not returned