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