xref: /php-src/Zend/tests/list/list_006.phpt (revision 275f63e7)
1--TEST--
2Testing nested list() with empty array
3--FILE--
4<?php
5
6list($a, list($b, list(list($d)))) = array();
7
8?>
9--EXPECTF--
10Warning: Undefined array key 0 in %s on line %d
11
12Warning: Undefined array key 1 in %s on line %d
13