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 <der...@php.net> wrote: > On Thu, 13 May 2010, Arpad Ray wrote: > > > 2010/5/13 Johannes Schlüter <johan...@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 >