diff options
Diffstat (limited to 'ext/spl/tests/observer_004.phpt')
-rwxr-xr-x | ext/spl/tests/observer_004.phpt | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/ext/spl/tests/observer_004.phpt b/ext/spl/tests/observer_004.phpt index 78b480ab1c..c24f5ed777 100755 --- a/ext/spl/tests/observer_004.phpt +++ b/ext/spl/tests/observer_004.phpt @@ -62,17 +62,43 @@ var_dump($storage2); int(2) int(1) int(2) -object(MyStorage)#%d (1) { +object(MyStorage)#%d (2) { ["bla"]=> int(26) + ["storage":"SplObjectStorage":private]=> + array(2) { + ["%s"]=> + object(TestClass)#%d (1) { + ["test"]=> + int(1) + } + ["%s"]=> + object(TestClass)#%d (1) { + ["test"]=> + int(2) + } + } } string(%d) "%s" ===UNSERIALIZE=== int(2) int(1) int(2) -object(MyStorage)#%d (1) { +object(MyStorage)#%d (2) { ["bla"]=> int(26) + ["storage":"SplObjectStorage":private]=> + array(2) { + ["%s"]=> + object(TestClass)#%d (1) { + ["test"]=> + int(1) + } + ["%s"]=> + object(TestClass)#%d (1) { + ["test"]=> + int(2) + } + } } ===DONE=== |