throwaway error (baseball)

syntax error, unexpected T_STRING, expecting T_VARIABLE

I got this error.
It was simply a spelling error in English.

funtion→function

and completed.
The meaning of the error was not very clear.