Re: Re: Compatibility problems with PHP 5
| From: | Andi Gutmans | Date: | Thu, 27 Nov 2003 10:33:22 +0000 |
| Subject: | Re: Re: Compatibility problems with PHP 5 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5742@lists.php.net to get a copy of this message | ||
At 11:00 AM 11/27/2003 +0100, Christian Schneider 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). Andiissues 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.