When writing PHP code, you can cause some really hard to track down parsing errors if you don't remember what parts you were editing previously. I'd be interested to hear about any insightful methods to hunt down these errors you may have discovered.
Example: unexpected ';', expecting T_FUNCTION in someclass.php on line 877
This vague error points out that you have unexpected ; in a class containing 877 lines of PHP code, and the error definitely is not on the last line. Is the error message misleading? Where and how do you start looking, besides starting from the top and just trying to find the offending place scanning every row of code.