Skip to content

Commit 19222b8

Browse files
committed
Fix var_dump test
1 parent 8b36be2 commit 19222b8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

ext/standard/tests/general_functions/var_dump.phpt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ $strings = array (
9999
'PHP',
100100
"abcd\x0n1234\x0005678\x0000efgh\xijkl", // strings with hexadecimal NULL
101101
"abcd\0efgh\0ijkl\x00mnop\x000qrst\00uvwx\0000yz", // strings with octal NULL
102-
"1234\t\n5678\n\t9100\rabcda" // strings with escape characters
102+
"1234\t\n5678\n\t9100\"abcda" // strings with escape characters
103103
);
104104
/* calling check_vardump() to display contents of strings
105105
using var_dump() */
@@ -448,10 +448,9 @@ string(29) "abcdn12340567800efgh\xijkl"
448448
-- Iteration 13 --
449449
string(34) "abcdefghijklmnop0qrstuvwx0yz"
450450
-- Iteration 14 --
451-
string(22) "1234
451+
string(22) "1234
452452
5678
453-
9100
454-
abcda"
453+
9100"abcda"
455454

456455
*** Testing var_dump() on boolean variables ***
457456
-- Iteration 1 --
@@ -1103,10 +1102,9 @@ array(14) {
11031102
[12]=>
11041103
string(34) "abcdefghijklmnop0qrstuvwx0yz"
11051104
[13]=>
1106-
string(22) "1234
1105+
string(22) "1234
11071106
5678
1108-
9100
1109-
abcda"
1107+
9100"abcda"
11101108
}
11111109
array(15) {
11121110
[0]=>

0 commit comments

Comments
 (0)