1--TEST--
2DIM on null in constant expr should emit warning
3--FILE--
4<?php
5const C = (null)['foo'];
6var_dump(C);
7?>
8--EXPECTF--
9Warning: Trying to access array offset on null in %s on line %d
10NULL
11