Re: Re: Compatibility problems with PHP 5
| From: | Derick Rethans | Date: | Thu, 27 Nov 2003 11:33:00 +0000 |
| Subject: | Re: Re: Compatibility problems with PHP 5 | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5750@lists.php.net to get a copy of this message | ||
On Thu, 27 Nov 2003, Christian Schneider wrote:
> Marcus Boerger wrote:
> > If i get you right you want to have __clone() for PHP4, too right? But
> > that's already to late.
>
> That's what I was told when I was asking for ref on assignment for PHP4.
> And now we have to go through this hassle for PHP5. I simply cannot
> believe noone thought of this problem when it was still possible to add
> it to PHP4 _and_ we stick to this just for the sake of a feature freeze.
> The function is so trivial (and IMHO so important) that being strict
> here seems plain wrong to me. After all it hinders migration to PHP5!
Just use an auto_prepend which sets the implicit_clone option... no
problems then anymore.
Derick