Parse error: parse error, unexpected ‘[', expecting T_PAAMAYIM_NEKUDOTAYIM in _____ on line 30
What a strange PHP error message indeed! I did some googling... er, that is, I searched the web using Google -- in case there are any Google lawyers reading
... and I found the following:
Turns out it’s Hebrew for '::'. You learn something new every day.
On the line number to which the error message referred, I was referencing a PHP variable without a dollar sign. Oops.
I don’t know what “paamayim nekudotayim” or two colons has to do with it though. (Shrug.)
Subscribe