xref: /PHP-7.4/Zend/tests/list_012.phpt (revision 4f077aee)
1--TEST--
2Disallow empty elements in normal arrays
3--FILE--
4<?php
5
6var_dump([, 1, 2]);
7
8?>
9--EXPECTF--
10Fatal error: Cannot use empty array elements in arrays in %s on line %d
11