xref: /php-src/Zend/tests/list/list_003.phpt (revision 275f63e7)
1--TEST--
2list() with non-array
3--FILE--
4<?php
5
6list($a) = NULL;
7
8list($b) = 1;
9
10list($c) = 1.;
11
12list($d) = 'foo';
13
14list($e) = print '';
15
16var_dump($a, $b, $c, $d, $e);
17
18?>
19--EXPECT--
20NULL
21NULL
22NULL
23NULL
24NULL
25