Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5745 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44969 invoked by uid 1010); 27 Nov 2003 10:51:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 44893 invoked from network); 27 Nov 2003 10:51:11 -0000 Received: from unknown (HELO matrix.gna.ch) (195.226.6.8) by pb1.pair.com with SMTP; 27 Nov 2003 10:51:11 -0000 Received: from localhost (localhost [127.0.0.1]) by matrix.gna.ch (Postfix) with ESMTP id 86D24165; Thu, 27 Nov 2003 11:51:10 +0100 (CET) Received: by matrix.gna.ch (Postfix, from userid 65534) id 2AA5C166; Thu, 27 Nov 2003 11:51:09 +0100 (CET) Received: from cschneid.com (unknown [195.226.4.61]) by matrix.gna.ch (Postfix) with ESMTP id AE8C8164; Thu, 27 Nov 2003 11:51:06 +0100 (CET) Message-ID: <3FC5D71A.3010404@cschneid.com> Date: Thu, 27 Nov 2003 11:51:06 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031009 X-Accept-Language: de-ch, de, en-us, en MIME-Version: 1.0 To: Andi Gutmans Cc: internals@lists.php.net References: <5.1.0.14.2.20031126172833.06829bb8@127.0.0.1> <5.1.0.14.2.20031126172833.06829bb8@127.0.0.1> <5.1.0.14.2.20031127123209.02a61918@127.0.0.1> In-Reply-To: <5.1.0.14.2.20031127123209.02a61918@127.0.0.1> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on matrix.gna.ch X-Spam-Level: X-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Virus-Scanned: by AMaViS Ultramail snapshot-20020531 Subject: Re: [PHP-DEV] Re: Compatibility problems with PHP 5 From: cschneid@cschneid.com (Christian Schneider) 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