Re: Re: $_SESSION numeric index bug
| From: | Ferenc Kovacs | Date: | Thu, 13 May 2010 19:09:19 +0000 |
| Subject: | Re: Re: $_SESSION numeric index bug | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-48281@lists.php.net to get a copy of this message | ||
Something like http://hu2.php.net/json_last_error
should be implemented for
serialize.
Tyrael
On Thu, May 13, 2010 at 7:30 PM, Derick Rethans <derick@php.net> wrote:
> On Thu, 13 May 2010, Arpad Ray wrote:
>
> > 2010/5/13 Johannes Schlüter <johannes@schlueters.de>
> >
> > > To your issue: That's related to the way the session module serializes
> > > data, which is non-standard serialize due to register_globals. Most
> > > likely php.next, where r_g is gone will use standard serialization
> where
> > > this would be fixed. till then a session key has to be a string.
> >
> > I have a patch ready for the standard serialisation which would indeed
> > fix this - I'll put together an RFC for it this week.
>
> right now, unserialize throws notices if there are problems decoding the
> string; it would be good if we could get rid of that too. (As a
> reference: http://trac.qcu.be/projects/qcubed/ticket/555
>
> regards,
> Derick
>
> --
> http://derickrethans.nl |
> http://xdebug.org
> Like Xdebug? Consider a donation: http://xdebug.org/donate.php
> twitter: @derickr and @xdebug
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>