xref: /PHP-5.6/Zend/tests/list_001.phpt (revision 5fa8f63a)
1--TEST--
2"Nested" list()
3--FILE--
4<?php
5
6list($a, list($b)) = array(new stdclass, array(new stdclass));
7var_dump($a, $b);
8
9?>
10--EXPECT--
11object(stdClass)#1 (0) {
12}
13object(stdClass)#2 (0) {
14}
15