RE: [PHP-DEV] [RFC] Return Type Declarations

From: Date: Fri, 25 Apr 2014 12:31:04 +0000
Subject: RE: [PHP-DEV] [RFC] Return Type Declarations
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-73796@lists.php.net to get a copy of this message
> From: Pete Boere [mailto:pete@the-echoplex.net] > > Nice proposal. > > FWIW on the use issue I much prefer the first alternative: > > function ($foo): Bar use ($quux) {} > function ($foo) use ($quux): Bar {} > I like the idea and the FRC, too! But referring to the use issue: Just from reading the first alternative sounds like "Bar uses xy", which sounds strange to me. I'd prefer the second alternative.

« previous php.internals (#73796) next »