Annotation of embedaddon/php/ext/spl/tests/array_026.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: SPL: ArrayObject indirect offsetGet overwriting EG(uninitialized_zvar_ptr)
3: --FILE--
4: <?php
5: $test = new ArrayObject();
6: $test['d1']['d2'] = 'hello';
7: $test['d1']['d3'] = 'world';
8: var_dump($test, $test3['mmmmm']);
9: ?>
10: --EXPECTF--
11: Notice: Undefined variable: test3 in %s%earray_026.php on line %d
12: object(ArrayObject)#%d (1) {
13: ["storage":"ArrayObject":private]=>
14: array(1) {
15: ["d1"]=>
16: array(2) {
17: ["d2"]=>
18: string(5) "hello"
19: ["d3"]=>
20: string(5) "world"
21: }
22: }
23: }
24: NULL
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>