com php-src: fix two remaining tests: ext/standard/tests/strings/bug72433.phpt ext/standard/tests/strings/bug72434.phpt

From: Date: Tue, 21 Jun 2016 15:24:08 +0000
Subject: com php-src: fix two remaining tests: ext/standard/tests/strings/bug72433.phpt ext/standard/tests/strings/bug72434.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-92572@lists.php.net to get a copy of this message
Commit: ed10168b30268ff533c710d6f0b31098e1d1dd5d Author: Anatol Belski <ab@php.net> Tue, 21 Jun 2016 17:24:08 +0200 Parents: 1d5a4520be0c70800c019dd79d6bd71a43edbc33 Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ed10168b30268ff533c710d6f0b31098e1d1dd5d Log: fix two remaining tests Changed paths: M ext/standard/tests/strings/bug72433.phpt M ext/standard/tests/strings/bug72434.phpt Diff: diff --git a/ext/standard/tests/strings/bug72433.phpt b/ext/standard/tests/strings/bug72433.phpt index 3a2c897..d5a6612 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 1408b8f..fa31c8b 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){ } }

« previous php.cvs (#92572) next »