xref: /PHP-5.4/Zend/tests/bug27598.phpt (revision 610c7fbe)
1--TEST--
2Bug #27598 (list() array key assignment causes HUGE memory leak)
3--FILE--
4<?php
5list($out[0]) = array(1);
6var_dump($out);
7?>
8--EXPECT--
9array(1) {
10  [0]=>
11  int(1)
12}
13