Hi Stas,

On Thu, Aug 8, 2013 at 5:34 AM, Stas Malyshev <smalys...@sugarcrm.com>wrote:

> Why is it useful to do this? I don't see how using numerical indexes in
> global namespace (and SESSION is one of global namespaces in PHP) is a
> good idea. Could you explain the use case here?
>

Personally, I would not use numeric index.
However, users are expecting it to work and there is no way to raise
informative error message where is wrong. IIRC, there were description
about "register_globals" originated limitations in our documents, but it
seems it was gone already.


> This seems to be to be of a very limited use and introducing new
> serializer format with all resulting BC problems and confusion doesn't
> seem to be worth it.
>

The limitation is come from register_globals and it has nasty problem.
i.e. Error occurred at unknown script line 0.
This kind of behavior is better to be removed and it's worth it. IMHO.

Most users don't care what serializer does and users who may have
BC issue can use old serializers anytime.

Regards,

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

Reply via email to