summaryrefslogtreecommitdiff
path: root/Zend/tests/bug27598.phpt
blob: 534e8cf8570255012a64aff833382602be05b9a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--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)
}