On 14 Jul 2014, at 14:29, Jocelyn Fournier <[email protected]> wrote:
> Actually both syntax could exists :
>
> function foo((int) $a)
> {
>
> => scalar parameter casts syntax
>
>
> function foo(int $a)
> {
>
> => strict type checking syntax (consistant with array / class syntax)
I believe supporting both syntaxes has also been proposed in the past. That
isn’t this proposal and this proposal is not going to become that one.
--
Andrea Faulds
http://ajf.me/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php