Re: Request for comments - new PHP feature: return typing

From: Date: Tue, 09 Jul 2013 23:42:34 +0000
Subject: Re: Request for comments - new PHP feature: return typing
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-68083@lists.php.net to get a copy of this message
I know this conversation kinda stopped a couple weeks ago, but I want to throw into the ring that HHVM already has a syntax for return type hinting and it'd be awesome if we (with my PHP hat on) brought the two implementations together rather than take them further apart. In HHVM's case a function might look something like: function foo(SomeClass $bar, int $baz) : bool { }

« previous php.internals (#68083) next »