Re: Bug in objects+XML
| From: | Thies C. Arntzen | Date: | Wed, 25 Apr 2001 06:01:38 +0000 |
| Subject: | Re: Bug in objects+XML | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-52352@lists.php.net to get a copy of this message | ||
On Tue, Apr 24, 2001 at 03:57:05PM -0400, Jon Parise wrote:
> 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.
cyclic references aren't supported by the engine - same as
infinite recursions (which crash the engine, too).
tc