Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66012 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93482 invoked from network); 20 Feb 2013 00:24:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2013 00:24:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=swhitemanlistens-software@cypressintegrated.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=swhitemanlistens-software@cypressintegrated.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain cypressintegrated.com designates 173.1.104.101 as permitted sender) X-PHP-List-Original-Sender: swhitemanlistens-software@cypressintegrated.com X-Host-Fingerprint: 173.1.104.101 rproxy2-b-iv.figureone.com Windows 2000 SP2+, XP SP1 (seldom 98 4.10.2222) Received: from [173.1.104.101] ([173.1.104.101:62397] helo=rproxy2-b-iv.figureone.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 52/96-61103-8D714215 for ; Tue, 19 Feb 2013 19:24:57 -0500 Received: from localhost ([216.220.114.66]) by rproxy2-b-iv.figureone.com (Brand New Heavy v1.0) with ASMTP id FCS82453 for ; Tue, 19 Feb 2013 16:24:53 -0800 Date: Tue, 19 Feb 2013 19:24:44 -0500 Reply-To: Sanford Whiteman X-Priority: 3 (Normal) Message-ID: <591203797.20130219192444@cypressintegrated.com> To: Levi Morrison In-Reply-To: References: <-1452447624906595030@unknownmsgid> <51240F9D.8020409@lerdorf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Dropping requirement for `function` keyword for methods in classes/interfaces/etc From: swhitemanlistens-software@cypressintegrated.com (Sanford Whiteman) > Let's stop pretending that the vast majority of PHP users actually > grep source code looking for `function foo`. They don't. *They don't > even know how to use grep.* I don't grep as in `grep`, but as in "regex search that is part of my IDE but is not also tokenizing/whateverizing/PHP-aware." My IDE lets me search for the declaration of a method by right-clicking class->method(), but it's only able to do that because it knows how to find the class definition and look there (and it doesn't use an autoloader). If I want to do a bulk search, it switches to regex, which doesn't share that intelligence. But I haven't upgraded to the v8 of this thing, only v7, so who knows... I find it indispensable and I'm not going to switch to another one because it isn't "smart enough" to do a PHP-aware bulk search. -- S.