Hunting down PHP parse errors
<p>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.</p>

<p>Example:   unexpected ';', expecting T_FUNCTION in someclass.php on line 877</p>

<p>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.</p>
