Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30076 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42408 invoked by uid 1010); 5 Jun 2007 18:28:09 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 42393 invoked from network); 5 Jun 2007 18:28:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2007 18:28:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=bart@mediawave.nl; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=bart@mediawave.nl; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mediawave.nl from 194.109.24.37 cause and error) X-PHP-List-Original-Sender: bart@mediawave.nl X-Host-Fingerprint: 194.109.24.37 smtp-vbr17.xs4all.nl FreeBSD 4.6-4.9 Received: from [194.109.24.37] ([194.109.24.37:4920] helo=smtp-vbr17.xs4all.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/31-33808-63BA5664 for ; Tue, 05 Jun 2007 14:28:08 -0400 Received: from [192.168.0.195] (mediawave.xs4all.nl [194.109.253.196]) (authenticated bits=0) by smtp-vbr17.xs4all.nl (8.13.8/8.13.8) with ESMTP id l55IS2Qn083817; Tue, 5 Jun 2007 20:28:02 +0200 (CEST) (envelope-from bart@mediawave.nl) Message-ID: <4665AB37.2010008@mediawave.nl> Date: Tue, 05 Jun 2007 20:28:07 +0200 User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Etienne Kneuss , internals@lists.php.net CC: Jochem Maas , Ken Stanley References: <56275.216.230.84.67.1180484964.squirrel@www.l-i-e.com> <465D9040.6030001@iamjochem.com> <43689.216.230.84.67.1180643866.squirrel@www.l-i-e.com> <465FC76B.6030208@mediawave.nl> <4660A44F.6060802@mediawave.nl> <46657E94.1030900@iamjochem.com> <2689.192.87.117.168.1181060919.squirrel@www.mediawave.nl> <46659A9E.1020202@php.net> In-Reply-To: <46659A9E.1020202@php.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: [PHP-DEV] late static binding (please break BC?) From: bart@mediawave.nl (Bart de Boer) Etienne Kneuss wrote: > > It's always dangerous to introduce a new keyword, as it can/will break > BC (i.e what if somebody has defined a function derived(), the parser > would choke on that). > > I'm personally fine with static, even if it may eventually introduce > some confusion. > > Regards > Perhaps we should just introduce a new keyword? Isn't this one of those few cases where you should? Words like 'derived' and 'extended' are very unlikely function names anyway. More likely people would call them derive() or extend(). FWIW: "function derived()" gives me 0 results on Google code search. :)