php-src/Zend/tests/list_006.phpt
2008-05-12 17:57:21 +00:00

15 lines
263 B
PHP

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