Hi!

> Current session module has a few limitations due to "register_globals"
> support which is now obsolete. One of them is numeric key indexed session
> data. i.e. $_SESSION[1] = $var is not allowed now and it raises error at
> R_SHUTDOWN with useless message for debugging.

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?

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.
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

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

Reply via email to