summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-06-21 17:24:08 +0200
committerAnatol Belski <ab@php.net>2016-06-21 19:10:57 +0200
commit305d93c7e531256feb94524f91d88d1b0cbea6b4 (patch)
tree29b83c558d0d523a4728c6accc18cc6aa74e698a
parentb4d54923c5ca169e257c93c7b928ae632f88e734 (diff)
downloadphp-git-305d93c7e531256feb94524f91d88d1b0cbea6b4.tar.gz
fix two remaining tests
-rw-r--r--ext/standard/tests/strings/bug72433.phpt33
-rw-r--r--ext/standard/tests/strings/bug72434.phpt4
2 files changed, 32 insertions, 5 deletions
diff --git a/ext/standard/tests/strings/bug72433.phpt b/ext/standard/tests/strings/bug72433.phpt
index 3a2c89701b..d5a6612f2b 100644
--- a/ext/standard/tests/strings/bug72433.phpt
+++ b/ext/standard/tests/strings/bug72433.phpt
@@ -21,12 +21,39 @@ var_dump($free_me);
--EXPECTF--
array(3) {
[0]=>
- *RECURSION*
+ array(3) {
+ [0]=>
+ *RECURSION*
+ [1]=>
+ *RECURSION*
+ [2]=>
+ object(ArrayObject)#%d (1) {
+ ["storage":"ArrayObject":private]=>
+ *RECURSION*
+ }
+ }
[1]=>
- *RECURSION*
+ array(3) {
+ [0]=>
+ *RECURSION*
+ [1]=>
+ *RECURSION*
+ [2]=>
+ object(ArrayObject)#%d (1) {
+ ["storage":"ArrayObject":private]=>
+ *RECURSION*
+ }
+ }
[2]=>
object(ArrayObject)#%d (1) {
["storage":"ArrayObject":private]=>
- *RECURSION*
+ array(3) {
+ [0]=>
+ *RECURSION*
+ [1]=>
+ *RECURSION*
+ [2]=>
+ *RECURSION*
+ }
}
}
diff --git a/ext/standard/tests/strings/bug72434.phpt b/ext/standard/tests/strings/bug72434.phpt
index 1408b8f578..fa31c8bf03 100644
--- a/ext/standard/tests/strings/bug72434.phpt
+++ b/ext/standard/tests/strings/bug72434.phpt
@@ -26,8 +26,8 @@ $fill_freed_space_4 = "filler_zval_4";
debug_zval_dump($unserialized_payload[1]);
?>
--EXPECTF--
-array(1) refcount(1){
+array(1) refcount(3){
[0]=>
- object(stdClass)#%d (0) refcount(3){
+ object(stdClass)#%d (0) refcount(1){
}
}