Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19347 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89301 invoked by uid 1010); 3 Oct 2005 14:29:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 89286 invoked from network); 3 Oct 2005 14:29:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Oct 2005 14:29:29 -0000 X-Host-Fingerprint: 195.226.6.9 darkcity.gna.ch Linux 2.4/2.6 Received: from ([195.226.6.9:36870] helo=darkcity.gna.ch) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 60/AC-54476-84041434 for ; Mon, 03 Oct 2005 10:29:29 -0400 Received: from localhost (localhost [127.0.0.1]) by darkcity.gna.ch (Postfix) with ESMTP id 8D4D2135F05; Mon, 3 Oct 2005 16:29:25 +0200 (CEST) Received: from unknown by localhost (amavisd-new, unix socket) id client-XXxvkn4U; Mon, 3 Oct 2005 16:29:24 +0200 (CEST) Received: by darkcity.gna.ch (Postfix, from userid 65534) id 4FAC7135F04; Mon, 3 Oct 2005 16:29:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on darkcity.gna.ch X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.0 Received: from [192.168.1.72] (unknown [195.226.9.186]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTP id 702A1135E4D; Mon, 3 Oct 2005 16:29:19 +0200 (CEST) Message-ID: <4341403F.3000304@cschneid.com> Date: Mon, 03 Oct 2005 16:29:19 +0200 User-Agent: Mozilla Thunderbird 1.0 (X11/20041207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcus Boerger Cc: internals@lists.php.net References: <43413474.90802@cschneid.com> <192263251.20051003154041@marcus-boerger.de> In-Reply-To: <192263251.20051003154041@marcus-boerger.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gna.ch Subject: Re: [PHP-DEV] Re: $ref =& $this; From: cschneid@cschneid.com (Christian Schneider) Marcus Boerger wrote: > php 4 code is wrong in this and we don't want to support the errors > forever. Programming is like sex: One mistake and you have to maintain it for the rest of your life (-:C Sometimes I wish I would have insisted more in Nov. 1999 when I brought up the reference vs. cloning issue for PHP4 beta. Oh well... Anyway, if you break compatibility with PHP4 you risk that _fewer_ people migrate to it, not more. Lots of PHP4 code is out there and easy migration is key. That's why I'd advocate an E_STRICT plus disallow it in PHP7 (or PHP8 ;-)). - Chris