Page 1 of 1

Parse error: parse error, unexpected T_STRING, expecting T_O

Posted: Sun May 13, 2007 6:15 pm
by tcl4p
I'm getting this error on the line where the class starts ( { ) when I rewrote a php to use a class. I should mention I do not get this error on my local machine using windows/apache and php5. Does this have something to do with my ISP's settings. I know both are using php 5. If anyone could can supply any information on this error I would appreciate it.

Thanks,
Tom

Posted: Sun May 13, 2007 6:31 pm
by volka
Thre are six tokens starting with T_O
T_OBJECT_CAST
T_OBJECT_OPERATOR
T_OLD_FUNCTION
T_OPEN_TAG
T_OPEN_TAG_WITH_ECHO
T_OR_EQUAL
which one is it?
May we see the code?