1--TEST--
2Constant expressions with empty dimension fetch on coalesce
3--FILE--
4<?php
5
6const A = [][] ?? 1;
7
8?>
9--EXPECTF--
10Fatal error: Cannot use [] for reading in %s.php on line %d
11
12