diff options
Diffstat (limited to 'ext/spl/tests/array_022.phpt')
| -rwxr-xr-x | ext/spl/tests/array_022.phpt | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/ext/spl/tests/array_022.phpt b/ext/spl/tests/array_022.phpt index d1eafd677..9cb2193f1 100755 --- a/ext/spl/tests/array_022.phpt +++ b/ext/spl/tests/array_022.phpt @@ -1,5 +1,7 @@ --TEST-- SPL: ArrayObject/Iterator and reference to self +--SKIPIF-- +<?php if (!extension_loaded("spl")) print "skip"; ?> --FILE-- ==ArrayObject=== <?php @@ -68,27 +70,3 @@ object(MyArrayIterator)#%d (2) { string(3) "Foo" } ===DONE=== ---UEXPECTF-- -==ArrayObject=== -object(MyArrayObject)#%d (1) { - [u"bar"]=> - unicode(3) "baz" -} -object(MyArrayObject)#%d (2) { - [u"bar"]=> - unicode(3) "baz" - [u"baz"]=> - unicode(3) "Foo" -} -==ArrayIterator=== -object(MyArrayIterator)#%d (1) { - [u"bar"]=> - unicode(3) "baz" -} -object(MyArrayIterator)#%d (2) { - [u"bar"]=> - unicode(3) "baz" - [u"baz"]=> - unicode(3) "Foo" -} -===DONE=== |
