Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50654 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41043 invoked from network); 28 Nov 2010 14:30:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Nov 2010 14:30:13 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 unknown Solaris 10 (beta) Received: from [217.114.211.66] ([217.114.211.66:55408] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B4/03-16104-16762FC4 for ; Sun, 28 Nov 2010 09:29:55 -0500 Received: from [192.168.1.29] (ppp-93-104-62-18.dynamic.mnet-online.de [93.104.62.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id EDD3E4B198; Sun, 28 Nov 2010 15:29:49 +0100 (CET) To: Daniel Convissor Cc: PHP Internals List In-Reply-To: <20101128140201.GA11105@panix.com> References: <1290879624.7033.826.camel@guybrush> <20101128014340.GA24343@panix.com> <20101128140201.GA11105@panix.com> Content-Type: text/plain; charset="UTF-8" Date: Sun, 28 Nov 2010 15:29:39 +0100 Message-ID: <1290954580.22413.103.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC: Making T_FUNCTION optional in method declarations From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Sun, 2010-11-28 at 09:02 -0500, Daniel Convissor wrote: > Hi Again: > > On Sat, Nov 27, 2010 at 08:43:40PM -0500, Daniel Convissor wrote: > > > > Not that my vote really counts, but -1. Doing so would eliminate the > > helpful ability to grep source code for 'function bar'. I can see this point. > It also will trip up the multitude of PHP IDE's and editors. Plus it > reduces code portability. All for saving us making a typo and having to > write "function"? PHP IDE's don't understand traits per se, they don't understand other changes per se. Code using new features won't work on older versions, but there's a way to be compatible. Depending on your requirements and likes. johannes