Re: phpxpath and php5
Brought to you by:
bs_php,
nigelswinson
From: Peter R. <php...@pe...> - 2004-07-24 13:09:52
|
On Saturday 24 Jul 2004 12:49, Nigel Swinson wrote: > This was fixed quite a while ago but has not yet been released as a new > version. If you get the latest version direct from CVS you should find > that not only is this problem fixed, yup, that seems to fix it. Another difference that may catch the unwary is that the useCases testbench uses the HTTP_*_VARS, so won't work if register_long_arrays in php.ini is off. However, I doubt it's worth your changing that. > but it also goes quite a lot faster too :o) I've always found that the slowness of evaluate/match is phpxpath's biggest problem. You don't notice if you're only accessing one or two nodes, but I have 1 file where each node has a unique id attribute which is the xpath key. phpxpath doesn't like this at all. It's quite a large file, and updating a large no of nodes can literally take several minutes! |