php-src/Zend/tests/list_006.phpt

13 lines
223 B
Plaintext
Raw Normal View History

2008-05-13 01:55:21 +08:00
--TEST--
Testing nested list() with empty array
--FILE--
<?php
list($a, list($b, list(list($d)))) = array();
?>
--EXPECTF--
Warning: Undefined array key 0 in %s on line %d
2008-05-13 01:55:21 +08:00
Warning: Undefined array key 1 in %s on line %d