php-src/Zend/tests/list_003.phpt
2008-05-11 03:15:13 +00:00

25 lines
207 B
PHP

--TEST--
list() with non-array
--FILE--
<?php
list($a) = NULL;
list($b) = 1;
list($c) = 1.;
list($d) = 'foo';
list($e) = print '';
var_dump($a, $b, $c, $d, $e);
?>
--EXPECT--
NULL
NULL
NULL
NULL
NULL