Hello Christian,

Thursday, November 27, 2003, 11:51:06 AM, you wrote:

> 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.

If i get you right you want to have __clone() for PHP4, too right? But
that's already to late. And using it on PHP5 to emulate PHP4 behavior where
needed might not solve all problems, so what can we do besides __clone and
the ini directive?


-- 
Best regards,
 Marcus                            mailto:[EMAIL PROTECTED]

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to