Test: /ext/mbstring/tests/mb_detect_encoding.phpt - Version 8.0.0-dev    

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

Count Diff
4 (50%)
017+
018+ Fatal error: Uncaught ArgumentCountError: Too few arguments to function test_error_handler(), 4 passed and exactly 5 expected in /home/travis/build/php/php-src/ext/mbstring/tests/common.inc:7
019+ Stack trace:
020+ #0 [internal function]: test_error_handler(2, 'mb_detect_encod...', '/home/travis/bu...', 83)
017- ERR: Warning
018- BAD: EUC-JP
019- ERR: Warning
020- MP:
021+ #1 %s/mb_detect_encoding.php(83): mb_detect_encoding('\xC6\xFC\xCB\xDC\xB8\xEC\xA5\xC6\xA5\xAD\xA5\xB9\xA5\xC8\xA4...', 'BAD')
022+ #2 {main}
023+ thrown in /home/travis/build/php/php-src/ext/mbstring/tests/common.inc on line 7
4 (50%)
017+
018+ Fatal error: Uncaught ArgumentCountError: Too few arguments to function test_error_handler(), 4 passed and exactly 5 expected in /home/travis/build/nikic/php-src/ext/mbstring/tests/common.inc:7
019+ Stack trace:
020+ #0 [internal function]: test_error_handler(2, 'mb_detect_encod...', '/home/travis/bu...', 83)
017- ERR: Warning
018- BAD: EUC-JP
019- ERR: Warning
020- MP:
021+ #1 %s/mb_detect_encoding.php(83): mb_detect_encoding('\xC6\xFC\xCB\xDC\xB8\xEC\xA5\xC6\xA5\xAD\xA5\xB9\xA5\xC8\xA4...', 'BAD')
022+ #2 {main}
023+ thrown in /home/travis/build/nikic/php-src/ext/mbstring/tests/common.inc on line 7