Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:961 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78167 invoked from network); 18 Apr 2003 18:51:03 -0000 Received: from unknown (HELO fep3.cogeco.net) (216.221.81.25) by pb1.pair.com with SMTP; 18 Apr 2003 18:51:03 -0000 Received: from mrobinson (d150-45-223.home.cgocable.net [24.150.45.223]) by fep3.cogeco.net (Postfix) with SMTP id 28D51228C; Fri, 18 Apr 2003 14:51:02 -0400 (EDT) To: "Sterling Hughes" , Date: Fri, 18 Apr 2003 14:51:03 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: <1050685924.852.12.camel@hasele> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: RE: [PHP-DEV] final is b0rk b0rk b0rk From: mike@mgrobinson.com ("Mike Robinson") References: <1050685924.852.12.camel@hasele> Sterling Hughes wrote: > class foo { > final public $bar = 10; > } > > $f = new foo; > $a = 'bar'; > $f->$a = 20; > echo $f->bar; > ?> [b0rk3d output snipped] > > PS: Insert mention of how this feature doesn't belong in a language like > php here. Also mention that interfaces/abstract suffer from the same > problem, and should be removed for the same reason. +1 for removing _all_ that stuff. :P Best Regards Mike Robinson