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