1--TEST-- 2Alternative offset syntax should emit E_COMPILE_ERROR outside const expression 3--FILE-- 4<?php 5$foo = 'BAR'; 6var_dump($foo{0}); 7?> 8--EXPECTF-- 9Parse error: syntax error, unexpected token "{", expecting ")" in %s on line %d 10