what is beginning to drive me a bit crazy is that I googled "Aptana spurious syntax errors" ... and virtually nothing came up... I feel marooned.
I've tried refresh, opening and closing Aptana, even restarting my machine... nothing doing. I've also tried to see if I can find a suitable "ignore this type of error" option in the configs...
The things that seem to be causing this are backticks ... even in comments! (but also in code) and also square brackets ... which allow spaces around numbers... i.e. "[ 0 ]" causes a "syntax error", but it goes away if I change this to "[0]"... so yes, I found this question: Aptana flagging valid brackets as PHP syntax error
Googling and searching "aptana backticks" or "aptana back ticks" comes up with nothing! Using the Aptana help came up with nothing! Anyone got any suggestions?
later
a strange explanation... which I leave for anyone who encounters the same problem. Inadvertently I had left an isolated backtick in the middle of a php file... rather than flagging this, Aptana signalled syntax errors all over the place.