php-src/Zend/tests/bug72395.phpt
2016-06-13 09:21:14 -07:00

11 lines
144 B
PHP

--TEST--
Bug #72395 (list() regression)
--FILE--
<?php
list(,,$a,,$b,) = array(1, 2, 3, 4, 5, 6);
var_dump($a, $b);
?>
--EXPECT--
int(3)
int(5)