--TEST-- Global keyword only accepts simple variables --FILE-- bar; ?> --EXPECTF-- Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR), expecting ';' or ',' in %s on line %d