php-src/Zend/tests/list_006.phpt
2014-06-14 15:22:18 +02:00

13 lines
217 B
PHP

--TEST--
Testing nested list() with empty array
--FILE--
<?php
list($a, list($b, list(list($d)))) = array();
?>
--EXPECTF--
Notice: Undefined offset: 0 in %s on line %d
Notice: Undefined offset: 1 in %s on line %d