Re: [RFC] Scalar Type Hinting With Casts (re-opening)
| From: | Andrea Faulds | Date: | Mon, 14 Jul 2014 19:59:55 +0000 |
| Subject: | Re: [RFC] Scalar Type Hinting With Casts (re-opening) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-75509@lists.php.net to get a copy of this message | ||
On 14 Jul 2014, at 20:53, Rowan Collins <rowan.collins@gmail.com> wrote:
> The debate in this thread basically comes down to us each wanting our favourite from that list
> of features to have the privilege of dedicated syntax in function signatures.
That’s why this RFC is supposed to be a best-compromise solution between strict and just casting.
The hope is to appease both sides and provide the most workable solution, really. It’s also the
style that I, myself, like best, because it’s strict enough to catch bugs (I like that), and it
keeps PHP a type-shifting language (I like that too).
--
Andrea Faulds
http://ajf.me/