diff --git a/ext/spl/tests/array_object.phpt b/ext/spl/tests/array_object.phpt index 236a10baaee..f2a93375018 100755 --- a/ext/spl/tests/array_object.phpt +++ b/ext/spl/tests/array_object.phpt @@ -30,6 +30,10 @@ unset($ar[7]); unset($ar["c"]); var_dump($ar); +$ar[] = '3'; +$ar[] = 4; +var_dump($ar); + ?> ===DONE=== @@ -86,4 +90,14 @@ object(ArrayObject)#1 (2) { [2]=> int(2) } +object(ArrayObject)#1 (4) { + [0]=> + int(0) + [2]=> + int(2) + [4]=> + string(1) "3" + [5]=> + int(4) +} ===DONE===