Hi Thomas, > On 1 Jan 2015, at 16:54, Thomas Bley <ma...@thomasbley.de> wrote: > > thanks for the rfc! Currently we allow: > > function test(Array $o){} > test([]); > function test2(array $o){} > test2([]); > > So I propose to allow also uppercase type names: > ublic function __construct(String $name, Int $age, Float $cuteness, Bool > $evil) {
The RFC doesn’t mention it, but this is allowed by the patch, since type names are case-insensitive. Thanks. -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php