Hi all,

On Tue, Jun 9, 2015 at 6:21 AM, Stanislav Malyshev <smalys...@gmail.com>
wrote:

> > Would throwing a notice or a warning on array deferencing scalars
> > be acceptable for PHP 7.0, or does this need an RFC?
>
> I think this does need an RFC, and for 7.0, pretty much no new language
> changes are acceptable anymore, since we're past the timeframe.


  <?php
  $foo = 42;
  $foo['bar']; // => NULL

This code cannot be right.
How about fix this as a simple bug?

Regards,

--
Yasuo Ohgaki
yohg...@ohgaki.net

Reply via email to