php-src/Zend/tests/list_012.phpt
2016-05-20 01:51:05 +02:00

11 lines
174 B
PHP

--TEST--
Disallow 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