summaryrefslogtreecommitdiff
path: root/Zend/tests/list_013.phpt
blob: 2869f5f4233b822abd637c10a7043184cd940b5f (plain)
1
2
3
4
5
6
7
8
9
10
--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