1--TEST--
2Alternative offset syntax should emit E_COMPILE_ERROR in const expression
3--FILE--
4<?php
5const FOO_COMPILE_ERROR = "BAR"{0};
6var_dump(FOO_COMPILE_ERROR);
7?>
8--EXPECTF--
9Fatal error: Array and string offset access syntax with curly braces is no longer supported in %s on line 2
10