Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77759 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64451 invoked from network); 3 Oct 2014 16:21:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Oct 2014 16:21:57 -0000 X-Host-Fingerprint: 77.1.114.142 frnk-4d01728e.pool.mediaWays.net Received: from [77.1.114.142] ([77.1.114.142:5523] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 42/58-10205-32DCE245 for ; Fri, 03 Oct 2014 12:21:57 -0400 Message-ID: <42.58.10205.32DCE245@pb1.pair.com> To: internals@lists.php.net Date: Fri, 03 Oct 2014 18:21:51 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 77.1.114.142 Subject: [PHP7] Remove the function keyword from class methods? From: mail@gossimaniac.net (Thomas Gossmann) Hey there, I'm just a php developer, thus not even having a php.net account. I was wondering if it is possible to deprecate/remove the function keyword from class methods in php7 or at least make it optional when one of the visibility keywords is present? I feel like writing a completely unnecessary keyword each time I write a new method for a class. I guess this was a discussion earlier, though I wasn't able to find anything about it. Would love to hear, what pdt-internals (re-)think about that topic. Thanks, gossi