Re: ZE2 race condition
| From: | Jan Schneider | Date: | Sat, 29 Mar 2003 11:10:54 +0000 |
| Subject: | Re: ZE2 race condition | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-452@lists.php.net to get a copy of this message | ||
Quoting Zeev Suraski <zeev@zend.com>:
> At 04:56 26/03/2003, Jan Schneider wrote:
> >Quoting Zeev Suraski <zeev@zend.com>:
> >
> > > That's quite intentional - assignments in ZE2 are handle based,
> versus
> > > the
> > > value based in ZE1. That's more or less the biggest change in ZE2 :)
> > >
> > > If you want to create copies like in ZE1 you can use __clone().
> >
> >That's true of course, but serialize() still shouldn't segfault, no?
>
> Of course it's a bad idea for anything to segfault :) It's not ZE2's
> fault, though...
No, but we know that ZE2 can do it better. Looking at the output of
var_dump() it seems that it is able to detect infinite recursion, is there
a (technical) reason that the same detection isn't applied to serialize()?
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft