Annotation of embedaddon/php/ext/spl/tests/bug64106.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Bug #64106: Segfault on SplFixedArray[][x] = y when extended
3: --FILE--
4: <?php
5:
6: class MyFixedArray extends SplFixedArray {
7: public function offsetGet($offset) {}
8: }
9:
10: $array = new MyFixedArray(10);
11: $array[][1] = 10;
12:
13: ?>
14: --EXPECTF--
15: Notice: Indirect modification of overloaded element of MyFixedArray has no effect in %s on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>