xref: /PHP-5.5/Zend/tests/list_006.phpt (revision e35c4579)
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--
10Notice: Undefined offset: 1 in %s on line %d
11
12Notice: Undefined offset: 1 in %s on line %d
13
14Notice: Undefined offset: 0 in %s on line %d
15