mirror of
https://github.com/php/php-src.git
synced 2024-12-18 06:21:41 +08:00
13 lines
175 B
PHP
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)
|
|
}
|