diff options
author | Felipe Pena <felipe@php.net> | 2008-07-28 14:09:00 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2008-07-28 14:09:00 +0000 |
commit | de758769d3cf4d3f7d56cf1aae54a36d9af81461 (patch) | |
tree | 815fdbf130d45c6256843befc031c4e516817640 /Zend/tests/list_007.phpt | |
parent | 142b3d5c921e0caad5fb2af631eaf2e0a407a2d6 (diff) | |
download | php-git-de758769d3cf4d3f7d56cf1aae54a36d9af81461.tar.gz |
- New tests
Diffstat (limited to 'Zend/tests/list_007.phpt')
-rw-r--r-- | Zend/tests/list_007.phpt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Zend/tests/list_007.phpt b/Zend/tests/list_007.phpt new file mode 100644 index 0000000000..35a25bce65 --- /dev/null +++ b/Zend/tests/list_007.phpt @@ -0,0 +1,13 @@ +--TEST-- +Using lambda with list() +--FILE-- +<?php + +list($x, $y) = function() { }; + +var_dump($x, $y); + +?> +--EXPECT-- +NULL +NULL |