Re: 5.4 regression: non-existent sub-sub keys now have values
| From: | Pierre Joye | Date: | Wed, 23 Nov 2011 14:45:22 +0000 |
| Subject: | Re: 5.4 regression: non-existent sub-sub keys now have values | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56507@lists.php.net to get a copy of this message | ||
On Wed, Nov 23, 2011 at 3:19 PM, Ferenc Kovacs <tyra3l@gmail.com> wrote:
> if we allow strings to be used as indexes for strings, we have to be
> consistent with what we have already.
Short notice to avoid confusion:
It has nothing to do with allowing string, or double, or whatever else
but loosely typing. Loosely typing is what is happening here, the op
fetching a byte gets an integer, as usual.
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org