Re: Problem with XML_parser

From: Date: Thu, 08 Jul 2004 21:31:12 +0000
Subject: Re: Problem with XML_parser
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13564@lists.php.net to get a copy of this message
Hi, Alex MacLeod wrote:
I have been reading the documentation and on the second page sadly entitled "Basic Example" I copy the example and save it locally then try to test the script. But I get the error: "Parse error: parse error, expecting T_OLD_FUNCTION' or T_FUNCTION' or T_VAR' or '}'' in /Users/admin/Sites/downloaded source/parse_using_pear.php on line 3" As you can see, theres nothing there that should be throwing this error up???? Or is there.
Did you copy the stuff from the browser? If yes, then there may be some weird characters (non-breakable spaces?) in the text. PHP chokes on these...

« previous php.pear.general (#13564) next »