Problems with PHP Version 4.1.0 ???
Brought to you by:
bs_php,
nigelswinson
From: J. C. <jan...@im...> - 2002-01-02 16:52:25
|
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 E:\imeso\web\Administration\data\xpath.class.php on line 2296 PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of call_user_method(). 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 E:\imeso\web\Administration\data\xpath.class.php on line 2306 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 ________________ 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? Cheers Jan |