xref: /PHP-7.4/Zend/tests/list_003.phpt (revision e4c76641)
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