I have an RSS parser that uses PHP's expat XML functions. Recently PHP started complaining about "Call-time pass-by-reference has been deprecated" whenever I used the idiom:
xml_set_object( $this->parser, &$this ); Does that mean the function xml_set_object has been deprecated as well? Is there another preferred way to call xml_set_object? Is there another preferred way to wrap XML parsing inside an object? Thanks Kellan ps. the full text of the warning is: 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 xml_set_object(). 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 /home/kellan/projs/magpierss/rss_parse.inc on line 124 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php