--TEST-- Bug #21820 ("$arr['foo']" generates bogus E_NOTICE, should be E_PARSE) --FILE-- 'bar'); echo "$arr['foo']"; ?> --EXPECTF-- Parse error: %s error, %s(T_STRING)%s(T_VARIABLE)%s(T_NUM_STRING)%sin %sbug21820.php on line %d