Re: [RFC] Scalar Type Hinting With Casts (re-opening)

From: Date: Mon, 14 Jul 2014 13:30:42 +0000
Subject: Re: [RFC] Scalar Type Hinting With Casts (re-opening)
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-75454@lists.php.net to get a copy of this message
On 14 Jul 2014, at 14:29, Jocelyn Fournier <jocelyn.fournier@gmail.com> 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/

« previous php.internals (#75454) next »