Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38516 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4224 invoked from network); 22 Jun 2008 20:11:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jun 2008 20:11:06 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.94.239.7 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.7 mail.jdi-ict.nl Linux 2.6 Received: from [82.94.239.7] ([82.94.239.7:46562] helo=mail.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 27/62-23032-7D1BE584 for ; Sun, 22 Jun 2008 16:11:05 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id m5MKB0aG008344; Sun, 22 Jun 2008 22:11:00 +0200 Date: Sun, 22 Jun 2008 22:11:01 +0200 (CEST) X-X-Sender: derick@kossu.ez.no To: Etienne Kneuss cc: PHP internals In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Subject: Re: [PHP-DEV] LSB forward_static_call() From: derick@php.net (Derick Rethans) On Fri, 20 Jun 2008, Etienne Kneuss wrote: > To sum up key points about each possibilities: > > 1) forward_static_call > + no need to affect the engine > - slow, painful > > 2) parent:: carries the info while ParentClassName:: doesn't > + convenient > + no functionnality lost > - introduces a difference between parent:: and classname::, but > restricted to LSB so no BC break > > It really seems like (2) is the most PHP way of doing things, while > (1) is more of a hack that we will regret later. I'd go for 2 too. regards, Derick -- Derick Rethans http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org