Re: Call-time pass-by-reference deprecation errors
Brought to you by:
bs_php,
nigelswinson
From: john m. I. <li...@jm...> - 2001-12-07 16:21:32
|
on Friday Dec 07 at 11.31 AM, Peter Robins wrote: > not seen this error, but line 163 is in a deprecated function. Do you get the > same msg using the preferred appendData, which uses different parameters? that's kinda the same question that sam blum asked me. the funny part is, i'm not /using/ any of the functions yet, all i did was a one-line test page that just require()'s the class.php file. i added the "php_flag allow_call_time_pass_reference on" directive to my .htacess file, which made the php compiler shut up about the deprecation warnings. possibly something should get added to the readme about, it's a bit disconcerting to see all those errors at first. also, a short example php file showing basic php.xpath usage would be extremely helpful. the class documentation is nice, but not so helpful to a beginning user who doesn't necessarily know in advance what methods might be useful. i downloaded the pxpxmldb source to have something else to look at, but just a simple "here's a new xpath object, here's how we select a node and print it out, done." would go a long way. i'll try and write one and post it, maybe that could also be bundled with the download as a resource for new users. regards, -- jm3 / john manoogian III / bad...@jm... / www.jm3.net |