mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +08:00
11 lines
174 B
PHP
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
|