mirror of
https://github.com/php/php-src.git
synced 2024-09-26 20:37:29 +00:00
16 lines
338 B
Plaintext
16 lines
338 B
Plaintext
|
--TEST--
|
||
|
Bug #64106: Segfault on SplFixedArray[][x] = y when extended
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
class MyFixedArray extends SplFixedArray {
|
||
|
public function offsetGet($offset) {}
|
||
|
}
|
||
|
|
||
|
$array = new MyFixedArray(10);
|
||
|
$array[][1] = 10;
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Notice: Indirect modification of overloaded element of MyFixedArray has no effect in %s on line %d
|