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

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

Count Diff
10 (48%)
002+ Error: 8 - Undefined variable: undefined_var, %s/mb_substitute_character_variation1.php(96)
003+ Error: 8 - Undefined variable: unset_var, %s/mb_substitute_character_variation1.php(99)
8 (38%)
003+ Fatal error: Uncaught ArgumentCountError: Too few arguments to function test_error_handler(), 4 passed and exactly 5 expected in %s/mb_substitute_character_variation1.php:11
004+ Stack trace:
005+ #0 %s/mb_substitute_character_variation1.php(96): test_error_handler(8, 'Undefined varia...', '/home/travis/bu...', 96)
006+ #1 {main}
007+ thrown in %s/mb_substitute_character_variation1.php on line 11
003- --int 0--
004- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
005- bool(false)
006-
007- --int 1--
008- bool(true)
009-
010- --int 12345--
011- bool(true)
012-
013- --int -12345--
014- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
015- bool(false)
016-
017- --float 10.5--
018- bool(true)
019-
020- --float -10.5--
021- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
022- bool(false)
023-
024- --float 12.3456789000e10--
025- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
026- bool(false)
027-
028- --float -12.3456789000e10--
029- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
030- bool(false)
031-
032- --float .5--
033- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
034- bool(false)
035-
036- --empty array--
037- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
038- bool(false)
039-
040- --int indexed array--
041- bool(true)
042-
043- --associative array--
044- bool(true)
045-
046- --nested arrays--
047- bool(true)
048-
049- --uppercase NULL--
050- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
051- bool(false)
052-
053- --lowercase null--
054- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
055- bool(false)
056-
057- --lowercase true--
058- bool(true)
059-
060- --lowercase false--
061- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
062- bool(false)
063-
064- --uppercase TRUE--
065- bool(true)
066-
067- --uppercase FALSE--
068- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
069- bool(false)
070-
071- --empty string DQ--
072- bool(true)
073-
074- --empty string SQ--
075- bool(true)
076-
077- --string DQ--
078- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
079- bool(false)
080-
081- --string SQ--
082- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
083- bool(false)
084-
085- --mixed case string--
086- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
087- bool(false)
088-
089- --heredoc--
090- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
091- bool(false)
092-
093- --instance of classWithToString--
094- Error: 8 - Object of class classWithToString could not be converted to int, %s(%d)
095- bool(true)
096-
097- --instance of classWithoutToString--
098- Error: 8 - Object of class classWithoutToString could not be converted to int, %s(%d)
099- bool(true)
100-
101- --undefined var--
102- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
103- bool(false)
104-
105- --unset var--
106- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
107- bool(false)
108- ===DONE===
3 (14%)
004+ bool(true) 004- Error: 2 - mb_substitute_character(): Unknown character, %s(%d) 005- bool(false) 032+ bool(true) 033- Error: 2 - mb_substitute_character(): Unknown character, %s(%d) 034- bool(false) 035+ bool(true) 037- Error: 2 - mb_substitute_character(): Unknown character, %s(%d) 038- bool(false) 047+ bool(true) 050+ bool(true) 050- Error: 2 - mb_substitute_character(): Unknown character, %s(%d) 051- bool(false) 054- Error: 2 - mb_substitute_character(): Unknown character, %s(%d) 055- bool(false) 056+ bool(true) 061- Error: 2 - mb_substitute_character(): Unknown character, %s(%d) 062- bool(false) 062+ bool(true) 068- Error: 2 - mb_substitute_character(): Unknown character, %s(%d) 069- bool(false) 071+ bool(true) 074+ bool(true) 077+ bool(true) 078- Error: 2 - mb_substitute_character(): Unknown character, %s(%d) 079- bool(false) 080+ bool(true) 082- Error: 2 - mb_substitute_character(): Unknown character, %s(%d) 083- bool(false) 086- Error: 2 - mb_substitute_character(): Unknown character, %s(%d) 087- bool(false) 090- Error: 2 - mb_substitute_character(): Unknown character, %s(%d) 091- bool(false) 091+ bool(true) 094+ bool(true) 102- Error: 2 - mb_substitute_character(): Unknown character, %s(%d) 103- bool(false) 106- Error: 2 - mb_substitute_character(): Unknown character, %s(%d) 107- bool(false)