Re: Bug in objects+XML
| From: | Jon Parise | Date: | Tue, 24 Apr 2001 19:57:05 +0000 |
| Subject: | Re: Bug in objects+XML | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-52305@lists.php.net to get a copy of this message | ||
On Tue, Apr 24, 2001 at 08:31:26PM +0200, Thies C. Arntzen wrote:
[workaround snipped]
> the problem here a cyclic references _and_ $this _not_ being
> the instantiated object (unless u use this ugly ampersand
> hack as illustrated)
Granted, it is a problem that can be worked around in PHP code,
but it still shouldn't crash the process with a segfault. An
error or warning would be the correct result.
--
Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/ : Computer Science House
Member