mirror of
https://github.com/php/php-src.git
synced 2024-09-29 05:46:06 +00:00
18 lines
283 B
PHP
18 lines
283 B
PHP
--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===
|