[php-src] PHP-8.6: Update test to reflect there are now maximum 16 (real) warnings and errors

From: Date: Mon, 09 Nov 2026 12:35:27 +0000
Subject: [php-src] PHP-8.6: 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-143476@lists.php.net to get a copy of this message
Author: Derick Rethans (derickr) Date: 2026-11-09T12:35:19Z Commit: https://github.com/php/php-src/commit/b430d09e18a124d9aee8b28da2d100e688e40b59 Raw diff: https://github.com/php/php-src/commit/b430d09e18a124d9aee8b28da2d100e688e40b59.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

« previous php.cvs (#143476) next »