diff options
Diffstat (limited to 'ext/spl/tests/bug70168.phpt')
-rw-r--r-- | ext/spl/tests/bug70168.phpt | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/ext/spl/tests/bug70168.phpt b/ext/spl/tests/bug70168.phpt index 192f0f3dca..e1f7e9f820 100644 --- a/ext/spl/tests/bug70168.phpt +++ b/ext/spl/tests/bug70168.phpt @@ -11,9 +11,26 @@ for($i = 0; $i < 5; $i++) { $v[$i] = 'hi'.$i; } -var_dump($data[1]); +var_dump($data); ?> ===DONE=== ---EXPECT-- -int(1) +--EXPECTF-- +array(2) { + [0]=> + object(SplObjectStorage)#%d (1) { + ["storage":"SplObjectStorage":private]=> + array(1) { + ["%s"]=> + array(2) { + ["obj"]=> + object(stdClass)#2 (0) { + } + ["inf"]=> + NULL + } + } + } + [1]=> + int(1) +} ===DONE=== |