Menu ▾ ▴

#23 XML unserialize broken

open
nobody
None
5
2008-10-29
2008-10-29
Anonymous
No

Line 165: $this->parser = & xml_parser_create('UTF-8');

This breaks in PHP, throwing:
[Server_Error][2000] Only variables should be assigned by reference
Method called: pageholder.ashtml()
Server script: /Users/pascalopitz/Desktop/ajax-nav/jpspan/JPSpan/Unserializer/XML.php on line 165

Fix:
$this->parser = xml_parser_create('UTF-8');

Discussion


Log in to post a comment.