AW: Re: Problems with PHP Version 4.1.0 ???
Brought to you by:
bs_php,
nigelswinson
From: J. C. <jan...@im...> - 2002-01-03 09:20:24
|
Hm, I did enable it and "allow_call_time_pass_reference" is set to "on" when I check it with phpinfo() and now the warnings about the ".. set allow_call_time_pass_reference to true .." warnings disappeared - great, thank's! But I still get this bunch of other deprecation warnings ".. call_user_method() .." and before searching though the archive (well, at least I searched for a search-function and did not find it) I just post my problem again: PHP Warning: The call_user_method() function is deprecated, use the call_user_func variety with the array(&$obj, "method") syntax instead in E:\imeso\web\Administration\data\xpath.class.php on line 2216 PHP Warning: The call_user_method() function is deprecated, use the call_user_func variety with the array(&$obj, "method") syntax instead in E:\imeso\web\Administration\data\xpath.class.php on line 2216 PHP Warning: The call_user_method() function is deprecated, use the call_user_func variety with the array(&$obj, "method") syntax instead in E:\imeso\web\Administration\data\xpath.class.php on line 2216 PHP Warning: The call_user_method() function is deprecated, use the call_user_func variety with the array(&$obj, "method") syntax instead in E:\imeso\web\Administration\data\xpath.class.php on line 2216 PHP Warning: The call_user_method() function is deprecated, use the call_user_func variety with the array(&$obj, "method") syntax instead in E:\imeso\web\Administration\data\xpath.class.php on line 2216 PHP Warning: The call_user_method() function is deprecated, use the call_user_func variety with the array(&$obj, "method") syntax instead in E:\imeso\web\Administration\data\xpath.class.php on line 2216 Any advice? Thank's a lot!!! Cheers Jan > -----Ursprüngliche Nachricht----- > Von: php...@li... > [mailto:php...@li...]Im Auftrag von Nigel > Swinson > Gesendet: Donnerstag, 3. Januar 2002 02:08 > An: php...@li... > Betreff: Re: Problems with PHP Version 4.1.0 ??? > > > > 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 > > > > > _______________________________________________ > Phpxpath-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpxpath-users > |