Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50679 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48806 invoked from network); 29 Nov 2010 03:32:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Nov 2010 03:32:54 -0000 Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 74.125.83.42 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 74.125.83.42 mail-gw0-f42.google.com Received: from [74.125.83.42] ([74.125.83.42:57438] helo=mail-gw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D8/70-44028-5EE13FC4 for ; Sun, 28 Nov 2010 22:32:54 -0500 Received: by gwb20 with SMTP id 20so2007652gwb.29 for ; Sun, 28 Nov 2010 19:32:51 -0800 (PST) Received: by 10.100.166.13 with SMTP id o13mr3844671ane.123.1291001570947; Sun, 28 Nov 2010 19:32:50 -0800 (PST) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.100.128.13 with HTTP; Sun, 28 Nov 2010 19:32:29 -0800 (PST) In-Reply-To: <1290879624.7033.826.camel@guybrush> References: <1290879624.7033.826.camel@guybrush> Date: Mon, 29 Nov 2010 11:32:29 +0800 X-Google-Sender-Auth: Iq30dQVr7Ja5DYVeCUiLRsvxz_U Message-ID: To: =?UTF-8?Q?Johannes_Schl=C3=BCter?= Cc: PHP internals list Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] RFC: Making T_FUNCTION optional in method declarations From: aharvey@php.net (Adam Harvey) 2010/11/28 Johannes Schl=C3=BCter : > Without T_FUNCTION token. In my opinion an access modifier /public, > private protected, static, final) should still be required for keeping > readability. I'd be -1 at the moment. The patch is certainly fine, but I think this has the potential to generate a lot of head-scratchers for neophyte coders trying to support code across multiple versions, and would increase our support burden for the benefit of removing a few keystrokes that every remotely experienced PHP developer already has committed to muscle memory. Adam