summaryrefslogtreecommitdiff
path: root/Zend/tests/list_003.phpt
blob: 4a509f6a828b42dda03e3774f6812c994c6153b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--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