Re: Re: XML_Tree + PHP5
| From: | Alan Knowles | Date: | Thu, 04 Nov 2004 02:40:20 +0000 |
| Subject: | Re: Re: XML_Tree + PHP5 | ||
| References: | 1 2 | Groups: | php.pear.general php.pear.qa |
| Request: | Send a blank email to pear-general+get-15327@lists.php.net to get a copy of this message | ||
This is fixed in CVS - I'm not sure what the status is as far as releases go - as It's a pretty major BC break. - So XML_Tree2 may be the resulting name..
Regards
Alan
Greg Beaver wrote:
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 112clone (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