php-src/Zend/tests/list_013.phpt
2016-06-14 14:02:34 +08:00

11 lines
180 B
PHP

--TEST--
Disallow tail empty elements in normal arrays
--FILE--
<?php
var_dump([1, 2, ,]);
?>
--EXPECTF--
Fatal error: Cannot use empty array elements in arrays in %s on line %d