Re: Problems with PHP Version 4.1.0 ???
Brought to you by:
bs_php,
nigelswinson
From: Nigel S. <nig...@us...> - 2002-01-03 01:10:30
|
> I installed the new Version 4.1.0 of PHP (well the newest is 4.1.1 of > course) and now I am getting some warnings regarding the XPath Class (no > warnings with Version 4.0.6!): > ______________ > > If you would like to enable call-time pass-by-reference, you can set > allow_call_time_pass_reference to true in your INI file. However, future > versions may not support this any longer. in <snip> > E:\imeso\web\Administration\data\xpath.class.php on line 2216 > ________________ > > My php file uses > > include ("xpath.class.php") and > $xpath = new XPATH("xmlfile.xml") and > > calls "getData()" two times, which works fine. > > When using "@include()" it does not give warnings about the "call-time > pass-by-reference" but still the "call_user_method() function"-warning six > times. > > I guess this is a general problem - or am I wrong? https://sourceforge.net/docman/display_doc.php?docid=8196&group_id=36731 Should just be a case of altering the allow_call_time_pass_reference setting on your installation (php.ini or .htaccess). This issue has come up several times already I think. If that fails, then there was other discussion recently on the topic that might give you some insight: http://www.geocrawler.com/archives/3/16154/2001/12/0/ Cheers, Nigel =========================== For the most recent version of Php.XPath, and an archive of this list visit: http://www.sourceforge.net/projects/phpxpath |