blob: 2b23ce4e0943dd255594faeb0758598f1bcad679 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--TEST--
Bug #70852 Segfault getting NULL offset of an ArrayObject
--FILE--
<?php
$y = new ArrayObject();
var_dump($y[NULL]);
var_dump($y[NULL]++);
?>
===DONE===
--EXPECTF--
Notice: Undefined index: in %s on line %d
NULL
Notice: Undefined index: in %s on line %d
NULL
===DONE===
|