Re: Dropping requirement for `function` keyword for methods in classes/interfaces/etc

From: Date: Tue, 19 Feb 2013 19:10:22 +0000
Subject: Re: Dropping requirement for `function` keyword for methods in classes/interfaces/etc
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-65989@lists.php.net to get a copy of this message
On 02/19/2013 03:07 PM, Nikita Nefedov wrote: > Are you grepping for all the functions or you are grepping just for some > specific function? If so, you are likely already know what visibility > this function has, so couldn't you grep for public > %functionName% > instead of function %functionName%? > At the end, you can always use `grep > '(function|public|private|protected) functionName' file`, and if it's > long to type, you can make sh script, or even alias. public is the default visibility so it is often left off, so no, I can't grep for that. -Rasmus

« previous php.internals (#65989) next »