php-src/Zend/tests/bug27598.phpt
2012-10-10 10:27:49 +08:00

13 lines
175 B
PHP

--TEST--
Bug #27598 (list() array key assignment causes HUGE memory leak)
--FILE--
<?php
list($out[0]) = array(1);
var_dump($out);
?>
--EXPECT--
array(1) {
[0]=>
int(1)
}