Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19345 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80243 invoked by uid 1010); 3 Oct 2005 14:21:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 80228 invoked from network); 3 Oct 2005 14:21:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Oct 2005 14:21:13 -0000 X-Host-Fingerprint: 64.233.162.195 zproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.162.195:54107] helo=zproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 0D/5B-54476-85E31434 for ; Mon, 03 Oct 2005 10:21:12 -0400 Received: by zproxy.gmail.com with SMTP id 40so279962nzk for ; Mon, 03 Oct 2005 07:21:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZrhfoFAU0h3VuyNbRrVkF5NV6Wgz0scRCO6uoZvYlUY6K7stkdO1UvEErP1B8WwBq5Inmz9atJWFAusvy5lwarVgVm9OfYRRaVqgQOhgkdI/5Luh198BfZrFdnOWmmuwa6aZyqz32AqG3CusVLsNiXbgN1BkvBBXSlNjqcbqwv8= Received: by 10.36.108.8 with SMTP id g8mr245586nzc; Mon, 03 Oct 2005 07:21:08 -0700 (PDT) Received: by 10.37.21.80 with HTTP; Mon, 3 Oct 2005 07:21:08 -0700 (PDT) Message-ID: <5c2874720510030721x6a0a6aabn6bf1d8b6d1acf3b4@mail.gmail.com> Date: Mon, 3 Oct 2005 09:21:08 -0500 Reply-To: Jason Sweat To: Marcus Boerger Cc: Dmitry Stogov , Derick Rethans , PHP Developers Mailing List In-Reply-To: <774652170.20051003161344@marcus-boerger.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <002a01c5c823$97c04d20$e902a8c0@thinkpad> <774652170.20051003161344@marcus-boerger.de> Subject: Re: [PHP-DEV] $ref =& $this; From: jason.sweat@gmail.com (Jason Sweat) On 10/3/05, Marcus Boerger wrote: > Hello Dmitry, > > that IS NOT proper code and it wasn't in php 4 either, it was only a > workaround that is no longer needed. Had the php 4 design been correct in > the first place that wouldn't have been allowed in 4 either. Since BC is = not > working out anyway i see absolutley no reason to encourage people to > continue to missuse php. > > marcus The central issue I see in this regards is that up until this point, people had the option of writing reasonably complex OO code which worked on both PHP4 and PHP5. With the advent of disallowing =3D& $this; you are explicitly forcing people to create PHP5 branches of their code. I believe this will also act as a further deterant for hosts to migrate to PHP5, as there will be an even greater number of off the shelf PHP applications which are no longer compatable with PHP5. Regards, Jason http://blog.casey-sweat.us/