Skip to content

Commit ed10168

Browse files
committed
fix two remaining tests
1 parent 1d5a452 commit ed10168

File tree

2 files changed

+32
-5
lines changed

2 files changed

+32
-5
lines changed

ext/standard/tests/strings/bug72433.phpt

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,39 @@ var_dump($free_me);
2121
--EXPECTF--
2222
array(3) {
2323
[0]=>
24-
*RECURSION*
24+
array(3) {
25+
[0]=>
26+
*RECURSION*
27+
[1]=>
28+
*RECURSION*
29+
[2]=>
30+
object(ArrayObject)#%d (1) {
31+
["storage":"ArrayObject":private]=>
32+
*RECURSION*
33+
}
34+
}
2535
[1]=>
26-
*RECURSION*
36+
array(3) {
37+
[0]=>
38+
*RECURSION*
39+
[1]=>
40+
*RECURSION*
41+
[2]=>
42+
object(ArrayObject)#%d (1) {
43+
["storage":"ArrayObject":private]=>
44+
*RECURSION*
45+
}
46+
}
2747
[2]=>
2848
object(ArrayObject)#%d (1) {
2949
["storage":"ArrayObject":private]=>
30-
*RECURSION*
50+
array(3) {
51+
[0]=>
52+
*RECURSION*
53+
[1]=>
54+
*RECURSION*
55+
[2]=>
56+
*RECURSION*
57+
}
3158
}
3259
}

ext/standard/tests/strings/bug72434.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ $fill_freed_space_4 = "filler_zval_4";
2626
debug_zval_dump($unserialized_payload[1]);
2727
?>
2828
--EXPECTF--
29-
array(1) refcount(1){
29+
array(1) refcount(3){
3030
[0]=>
31-
object(stdClass)#%d (0) refcount(3){
31+
object(stdClass)#%d (0) refcount(1){
3232
}
3333
}

0 commit comments

Comments
 (0)