Re: XML & deprecated "Call-time pass-by-reference"
| From: | Jason Wong | Date: | Mon, 20 Jan 2003 10:04:19 +0000 |
| Subject: | Re: XML & deprecated "Call-time pass-by-reference" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132227@lists.php.net to get a copy of this message | ||
On Monday 20 January 2003 16:43, kellan wrote:
> 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 );
Assuming that xml_set_object() has been defined correctly then to get rid of
that error/warning message simply use:
xml_set_object( $this->parser, $this );
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
With all the fancy scientists in the world, why can't they just once
build a nuclear balm?
*/