[php-src] PHP-8.6.0: Update test to reflect there are now maximum 16 (real) warnings and errors
| From: | Derick Rethans via Matteo Beccati | Date: | Tue, 10 Nov 2026 16:55:56 +0000 |
| Subject: | [php-src] PHP-8.6.0: Update test to reflect there are now maximum 16 (real) warnings and errors | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-143543@lists.php.net to get a copy of this message | ||
Author: Derick Rethans (derickr)
Committer: Matteo Beccati (mbeccati)
Date: 2026-11-10T08:36:54+01:00
Commit: https://github.com/php/php-src/commit/6f161fa8fac851caee4514107477df8e829f47c8
Raw diff: https://github.com/php/php-src/commit/6f161fa8fac851caee4514107477df8e829f47c8.diff
Update test to reflect there are now maximum 16 (real) warnings and errors
Changed paths:
M ext/date/tests/oom_date_parse.phpt
Diff:
diff --git a/ext/date/tests/oom_date_parse.phpt b/ext/date/tests/oom_date_parse.phpt
index c42bcea5b956..6cfb6018a9d3 100644
--- a/ext/date/tests/oom_date_parse.phpt
+++ b/ext/date/tests/oom_date_parse.phpt
@@ -6,6 +6,8 @@ memory_limit=64M
<?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