Re: Re: Compatibility problems with PHP 5

From: Date: Thu, 27 Nov 2003 10:51:06 +0000
Subject: Re: Re: Compatibility problems with PHP 5
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-5745@lists.php.net to get a copy of this message
Andi Gutmans wrote:
You can use the zend2.implicit_clone INI directive (change it at run-time if you want at the beginning of the application).
But I do want to move my application to the new semantics, I think it is much more reasonable than the PHP4 behaviour anyway (sadly enough my request to ref instead of copy on assignment was turned down in the PHP4 alpha days ;-)). I simply want to have a way of doing an explicit clone where it is really needed. I still can't see no reason why there should be no migration path for this. PHP5 adoption is going to be hard enough due to subtle bugs arising from this so I think clone() is the least we could do here. Forcing people to use zend2.implicit_clone won't help this IMHO. - Chris

« previous php.internals (#5745) next »