Hi Stas,

> On 17 Dec 2014, at 01:32, Stanislav Malyshev <smalys...@gmail.com> wrote:
> 
> Hi!
> 
>> AIUI, this RFC is meant to introduce some sugar only.  Wouldn't it be
> 
> I'm not sure what you mean by "some sugar only". It introduces the
> capability of using objects in array key context, which was not
> available until now.

That’s not true: the RFC doesn’t allow objects to be keys, it just adds 
implicit conversion. This is just sugar for an explicit conversion to int or 
string.

--
Andrea Faulds
http://ajf.me/





--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to