summaryrefslogtreecommitdiff
path: root/Zend/tests/list_006.phpt
blob: d380235d257a08a23641fe0d4fee9d4467b61b06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--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