xref: /PHP-7.1/Zend/tests/bug40899.phpt (revision 6458e424)
1--TEST--
2Bug #40899 (memory leak when nesting list())
3--FILE--
4<?php
5list(list($a,$b),$c)=array(array('a','b'),'c');
6echo "$a$b$c\n";
7?>
8--EXPECT--
9abc
10