mirror of
https://github.com/php/php-src.git
synced 2024-10-17 14:32:37 +00:00
15 lines
263 B
Plaintext
15 lines
263 B
Plaintext
|
--TEST--
|
||
|
Testing nested list() with empty array
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
list($a, list($b, list(list($d)))) = array();
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Notice: Undefined offset: 1 in %s on line %d
|
||
|
|
||
|
Notice: Undefined offset: 1 in %s on line %d
|
||
|
|
||
|
Notice: Undefined offset: 0 in %s on line %d
|