Re: [PHP-DEV] [VOTE][RFC] Scalar Type Hinting with Cast

[email protected] (Andrea Faulds)
Newsgroups php.internals
Message-ID <[email protected]>
On 15 Sep 2014, at 17:42, Sebastian Bergmann <[email protected]> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.