diff options
author | Nikita Popov <nikic@php.net> | 2015-04-25 11:59:02 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2015-04-25 16:13:37 +0200 |
commit | 66ce7cc0835a1c0f466b3601427133a0714548af (patch) | |
tree | d87651ffde7c77e15d38184bb09c52d9a3eaa687 /ext/spl/tests/array_022.phpt | |
parent | 3140d0c0c83343be3c394f51e5bb120b1f978a02 (diff) | |
download | php-git-66ce7cc0835a1c0f466b3601427133a0714548af.tar.gz |
Don't store $this reference for IS_SELF AO
The var_dump output changes in array_022.phpt were wrong previously,
the "storage" that was referenced there was not the actually used
storage.
Diffstat (limited to 'ext/spl/tests/array_022.phpt')
-rw-r--r-- | ext/spl/tests/array_022.phpt | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/ext/spl/tests/array_022.phpt b/ext/spl/tests/array_022.phpt index 82da3bbfe3..1ce6cae4ad 100644 --- a/ext/spl/tests/array_022.phpt +++ b/ext/spl/tests/array_022.phpt @@ -50,31 +50,21 @@ object(MyArrayObject)#%d (1) { ["bar"]=> string(3) "baz" } -object(MyArrayObject)#%d (3) { +object(MyArrayObject)#%d (2) { ["bar"]=> string(3) "baz" ["baz"]=> string(3) "Foo" - ["storage":"ArrayObject":private]=> - array(1) { - ["bar"]=> - string(3) "baz" - } } ==ArrayIterator=== object(MyArrayIterator)#%d (1) { ["bar"]=> string(3) "baz" } -object(MyArrayIterator)#%d (3) { +object(MyArrayIterator)#%d (2) { ["bar"]=> string(3) "baz" ["baz"]=> string(3) "Foo" - ["storage":"ArrayIterator":private]=> - object(MyArrayIterator)#%d (1) { - ["bar"]=> - string(3) "baz" - } } ===DONE=== |