Re: XML_Tree + PHP5

From: Date: Thu, 04 Nov 2004 02:46:46 +0000
Subject: Re: XML_Tree + PHP5
References: 1  Groups: php.pear.general php.pear.qa 
Request: Send a blank email to pear-general+get-15328@lists.php.net to get a copy of this message
yeh i just renamed that function to clone_node , no method has referenced it so all is cool, i willbe using simple xml once i get to php5. > daniel@electroteque.org wrote: >> Hi there, I have hit a wall trying to port my applications to a PHP5 >> envioronment. I am trying toanticipate a move to PHP5, but my projects >> which use XML_Tree for the menu system has failed. Ihave logged a bug >> and still not reply. It had been logged that it was fixed in cvs, the >> newestversion still doesnt work. >> >> Here is the error >> >> Parse error: parse error, unexpected T_CLONE, expecting T_STRING in >> /usr/lib/php/XML/Tree/Node.php on line 112 > > clone (T_CLONE token) is a reserved word in php5, so XML_Tree is not > php5-compatible, and in fact must break backwards compatibility in > order to fix this problem. > > The best suggestion is to maintain a private fork of XML_Tree for your > private projects until there is a new version out that you can use. > > Greg

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