Hey Marco,

> On 1 Jan 2015, at 16:56, Marco Pivetta <ocram...@gmail.com> wrote:
> 
> The problem is that the current proposed hints/casts are deviating from the 
> type-hints that we are used to, therefore this particular feature should 
> (eventually) have an alternate syntax, whereas the strict hints would just 
> use `int`, `integer`, `string`, `float`, `bool`, `boolan` without additional 
> chars (assuming that we will get strict hints somewhen).

I wouldn’t say it’s really such a great deviation. We use the same syntax for 
scalars and non-scalars in the manual.

> This will also reduce clashes with the current HHVM implementation.

HHVM doesn’t have scalar type hints for PHP. Hack does, but Hack isn’t PHP.

Thanks.
--
Andrea Faulds
http://ajf.me/





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

Reply via email to