Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50671 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92550 invoked from network); 28 Nov 2010 20:23:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Nov 2010 20:23:23 -0000 Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.20.127 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.20.127 c2bthomr09.btconnect.com Received: from [213.123.20.127] ([213.123.20.127:19685] helo=mail.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 84/80-18134-93AB2FC4 for ; Sun, 28 Nov 2010 15:23:22 -0500 Received: from host81-138-11-136.in-addr.btopenworld.com (EHLO _10.0.0.4_) ([81.138.11.136]) by c2bthomr09.btconnect.com with ESMTP id AWM21074; Sun, 28 Nov 2010 20:23:18 +0000 (GMT) Message-ID: <4CF2BA36.3010500@lsces.co.uk> Date: Sun, 28 Nov 2010 20:23:18 +0000 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.14) Gecko/20101013 SUSE/2.0.9-2.1 SeaMonkey/2.0.9 MIME-Version: 1.0 To: PHP internals list References: <1290879624.7033.826.camel@guybrush> <4CF279F0.80703@gmail.com> In-Reply-To: <4CF279F0.80703@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mirapoint-IP-Reputation: reputation=Good-1, source=Queried, refid=tid=0001.0A0B0301.4CF2BA36.012C, actions=tag X-Junkmail-Status: score=10/50, host=c2bthomr09.btconnect.com X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A0B0205.4CF2BA37.0028,ss=1,fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=single engine X-Junkmail-IWF: false Subject: Re: [PHP-DEV] RFC: Making T_FUNCTION optional in method declarations From: lester@lsces.co.uk (Lester Caine) Ángel González wrote: > Derick Rethans wrote: >> On Sat, 27 Nov 2010, Johannes Schlüter wrote: >>> RFC: http://wiki.php.net/rfc/optional-t-function >>> Patch: http://schlueters.de/~johannes/php/zend_optional_t_function.diff >> I'm -1 on this one. Besides this being confusing for people who want to >> run "newer" code on older PHP versions; this change does nothing but >> stop you from having to type "function". Something that the parser tells >> you immediately that you have forgotten this. > Join me to the list of people which don't like it. And since my name has already been mentioned ;) I see little point in removing what is a very useful 'flag' when trying to understand other peoples code. Yes PHPEclipse will take me to the right definition ( and does all the type hinting that I need! ) but this is still a useful hook when managing code? -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php