diff options
-rwxr-xr-x | ext/spl/tests/array_object.phpt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/spl/tests/array_object.phpt b/ext/spl/tests/array_object.phpt index 236a10baae..f2a9337501 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=== <?php exit(0); ?> @@ -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=== |