summaryrefslogtreecommitdiff
path: root/Zend/tests/bug75426.phpt
blob: 69e3f1923925fc88b0d31823065f07919c56694c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Bug #75426: "Cannot use empty array elements" reports wrong position
--FILE--
<?php
$a = [
    1,
    2,
    3,
    ,
    5,
    6,
];
?>
--EXPECTF--
Fatal error: Cannot use empty array elements in arrays in %s on line 5