Re: [VOTE][RFC] Scalar Type Hinting with Cast
| From: | Andrea Faulds | Date: | Mon, 15 Sep 2014 16:45:15 +0000 |
| Subject: | Re: [VOTE][RFC] Scalar Type Hinting with Cast | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77225@lists.php.net to get a copy of this message | ||
On 15 Sep 2014, at 17:42, Sebastian Bergmann <sebastian@php.net> wrote:
> Am 14.09.2014 um 01:30 schrieb Andrea Faulds:
>> https://wiki.php.net/rfc/scalar_type_hinting_with_cast
>
> If I understand the "Syntax" section correctly, then int, float, numeric,
> bool, and string are added as new reserved words (keywords). This would
> break existing code, for instance userland classes named "String".
>
> However, looking at the patch in http://bit.ly/1uADQnD I do not
> see
> an addition of new tokens. So maybe there is no problem at all.
Why are you looking at the initial commit from two years ago? Many, many changes have been made
since then. Did you not look at the branch?
Anyhow, this RFC is withdrawn, so there’s little point commenting on it further.
--
Andrea Faulds
http://ajf.me/