Test: /sapi/fpm/tests/log-bm-limit-2048-msg-4000.phpt - Version 7.4.20    

There are 2 different diffs reported by users for this test.

Count Diff
1 (50%)
001+ Fatal error: Uncaught TypeError: Argument 1 passed to FPM\LogTool::checkTruncatedMessage() must be of the type string, null given, called in /Users/warth/Desktop/php-7.4.20/sapi/fpm/tests/tester.inc on line 1170 and defined in /Users/warth/Desktop/php-7.4.20/sapi/fpm/tests/logtool.inc:99 001- Done 002+ Stack trace: 003+ #0 /Users/warth/Desktop/php-7.4.20/sapi/fpm/tests/tester.inc(1170): FPM\LogTool->checkTruncatedMessage(NULL) 004+ #1 %s/log-bm-limit-2048-msg-4000.php(30): FPM\Tester->expectFastCGIErrorMessage('t', 2048, 4000) 005+ #2 {main} 006+ thrown in /Users/warth/Desktop/php-7.4.20/sapi/fpm/tests/logtool.inc on line 99
1 (50%)
001+ ERROR: The NOTICE does not match expected message: 001- Done 002+ - PATTERN: /^\[\d\d-\w\w\w-\d{4} \d\d:\d\d:\d\d\] NOTICE: fpm is running, pid \d+$/ 003+ - MESSAGE: [04-Jun-2021 14:00:41] NOTICE: PHP message: PHP Warning: PHP Startup: Invalid library (appears to be a Zend Extension, try loading using zend_extension=opcache from php.ini) in Unknown on line 0 004+ - EXPECT: 'fpm is running, pid \d+' 005+ - ACTUAL: 'PHP message: PHP Warning: PHP Startup: Invalid library (appears to be a Zend Extension, try loading using zend_extension=opcache from php.ini) in Unknown on line 0' 006+ 007+ Fatal error: Uncaught Error: Call to a member function getErrorData() on null in /home/doug/software/php-7.4.20/sapi/fpm/tests/tester.inc:1170 008+ Stack trace: 009+ #0 %s/log-bm-limit-2048-msg-4000.php(30): FPM\Tester->expectFastCGIErrorMessage('t', 2048, 4000) 010+ #1 {main} 011+ thrown in /home/doug/software/php-7.4.20/sapi/fpm/tests/tester.inc on line 1170