Hi!

>> "public Foo function bar()" would be so much worse than "public function
>> bar() : Foo"
> 
> Because when you grep for "function bar", in future you'd have to know
> the return type too.

Sorry, I do not understand - why to grep for "function bar" you'd have
to know the type? Just grep for "function bar" as you did before.

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to