xref: /PHP-8.2/Zend/tests/list_006.phpt (revision c48b745f)
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