Syntax error unexpected identifier. Bash: syntax error near unexpected token `('. syntax error, unexpected token "foreach". syntax error, unexpected token "foreach" php. near alter syntax error.