php-src/Zend/tests/list_001.phpt
2008-03-12 12:58:12 +00:00

15 lines
191 B
PHP

--TEST--
"Nested" list()
--FILE--
<?php
list($a, list($b)) = array(new stdclass, array(new stdclass));
var_dump($a, $b);
?>
--EXPECT--
object(stdClass)#1 (0) {
}
object(stdClass)#2 (0) {
}