Hello all,

I have ran across this error a number of times, and for those of you who 
are or will pulling out your hair, read on.

When you get a:

Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or 
`T_VAR' or `'}'' in your_script.php on line 2149

Check to see if you have all of you { and } intact.
The error could be thousands of lines away, but the error message may point 
to the end of your file.

I notice this behavior when I am working on class definitions and forget to 
open close a block (switch, for, while) in a method in the class somewhere.

Hope it helps someone.

-Jason Garber
IonZoft.com



Reply via email to