mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
11 lines
180 B
PHP
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
|