Re: Q on Primitives
| From: | Kalle Sommer Nielsen | Date: | Fri, 19 Dec 2008 02:23:26 +0000 |
| Subject: | Re: Q on Primitives | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42342@lists.php.net to get a copy of this message | ||
2008/12/18 Nathan Rixham <nrixham@gmail.com>:
> Nathan Rixham wrote:
>
> and strongly typed returns.. nearly forgot
>
> public static function parseByte( Number $var ):bool {
> or
> public static function bool parseByte( Number $var ) {
>
> or such like
>
Theres already an RFC for this:
http://wiki.php.net/rfc/typehint
--
Kalle Sommer Nielsen