Andi Gutmans wrote:issues and many of them might be solvable (using the already existing compatibility mode for object cloning or by other means).
Could we please, please, please have a way of cloning objects which works in both versions? I'd like to use the new semantics as soon as it's available (no compatibility mode) but still be able to run my application on PHP4.
See my posting about the need for a clone() function. I didn't get an answer there so I wonder how everyone else is dealing with this issue.
You can use the zend2.implicit_clone INI directive (change it at run-time if you want at the beginning of the application).
Andi
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php