Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66007 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85566 invoked from network); 19 Feb 2013 23:49:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2013 23:49:56 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.220.174 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.220.174 mail-vc0-f174.google.com Received: from [209.85.220.174] ([209.85.220.174:39888] helo=mail-vc0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 03/F4-61103-3AF04215 for ; Tue, 19 Feb 2013 18:49:55 -0500 Received: by mail-vc0-f174.google.com with SMTP id n11so4719606vch.33 for ; Tue, 19 Feb 2013 15:49:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=eC6+hshrcyzD+En9Uz9p+oJo7PDVmPJfxtMkuTKJrDU=; b=nx1ctJZq1VMzN6YbbiiAi6BHazlUyFlhSvgKZRWWLMFroMhsZceazWbR6LZP5lubot 2ilWSGgmLnDHAJD1Bv29X1+cyi1DuTjoKwc6SRXHhEQruqO6gw16W3kCpdyZZlgwIkuk bAG7Ein3D2+ITWjONc0TNkWxPWWDTRLDppusuoeUlD6OkbB/6cru1tPp8eBiulzN1sIJ lc0QOjDdIMZ+cP5DeKx2sHOxYY7MPLru/ZYdh1mnt42e3QenE/W95Du5qkC7YOUSNja8 C7SmQgrHtxfAnMtsWmOAYPaeQTny/fC7slIrFsDCP+ZW+AkFlTtEgtZN+MLzlyGQk72Q 0MUg== X-Received: by 10.58.48.231 with SMTP id p7mr24102091ven.11.1361317792448; Tue, 19 Feb 2013 15:49:52 -0800 (PST) Received: from [192.168.200.148] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPS id tp10sm19172691vec.1.2013.02.19.15.49.50 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Feb 2013 15:49:51 -0800 (PST) Message-ID: <51240F9D.8020409@lerdorf.com> Date: Tue, 19 Feb 2013 15:49:49 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: Levi Morrison CC: Zeev Suraski , Nikita Nefedov , "internals@lists.php.net" References: <-1452447624906595030@unknownmsgid> In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmkT6sflSE6gV0Nyd8bT1oLtFlO7xHnGVgL84NviKjBn1okOdUoK9WA2bqbEFsdoP9hdZKy Subject: Re: [PHP-DEV] Dropping requirement for `function` keyword for methods in classes/interfaces/etc From: rasmus@lerdorf.com (Rasmus Lerdorf) On 02/19/2013 03:45 PM, Levi Morrison wrote: > The key question for me is: does removing it hurt PHP in any way? And > for me, the answer is a clear and resounding no. I do not grep code > for method definitions: I know exactly where they are and so will my > IDE if I happen to not be using vim. And for those who like to grep > for method definitions they can keep the keyword present. Except when I come along and try to grok your code. I rarely search my own code. From the very beginning of PHP we have always favoured readability over fewer keystrokes. -Rasmus