Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Newbie Question: Class produces parse error
August 18, 2005, 2:14 am
rate this thread
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION
or T_FUNCTION or T_VAR or '}' in ../maps/xmlrpctest.php on line 8
It has something to do with defining the public variable within the
class because once I list the first variable, the thing barfs at me.
Here's what doesn't work:
Comment out the public $testVar; statement and it works... what's wrong?