Re: phpxpath and php5
Brought to you by:
bs_php,
nigelswinson
From: Peter R. <php...@pe...> - 2004-07-22 20:19:37
|
On Thursday 22 Jul 2004 20:19, Peter Robins wrote: > With the hugely improved xml capabilities in php5, I expect phpxpath will > slowly become redundant. However, it'll be a while before scripts are > changed, and also until php5 is widely installed in production > environments, so those of us who have a script running on several servers > may have it on php4 and on php5. > > I've just been testing my phpxpath scripts in php5 and have to say I've not > found one that works :-(( For example, 'PHP Fatal error: Cannot re-assign > $this in /test/scripts/XPath.class.php on line 4614' > which it seems is one of the 'undocumented features' of the new version > (see user comment at > http://www.php.net/manual/en/migration5.incompatible.php) > > What's the plan? Is phpxpath going to be left as is to wither with php4, or > will it be updated to work on php5? following on from this, it seems this error is given in php5 whether or not the code is executed or not. My workaround for the moment is to comment out line 4614. An odd thing to do anyway - set an object to a boolean value? hmmmm . . . |