Re: [PHP-DEV] Re: $_SESSION numeric index bug

2010-05-13 Thread Ferenc Kovacs
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 wrote: > On Thu, 13 May 2010, Arpad Ray wrote: > > > 2010/5/13 Johannes Schlüter > > > > > To your issue: That's related to the way the session module s

Re: [PHP-DEV] Re: $_SESSION numeric index bug

2010-05-13 Thread Derick Rethans
On Thu, 13 May 2010, Arpad Ray wrote: > 2010/5/13 Johannes Schlüter > > > 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 >

Re: [PHP-DEV] Re: $_SESSION numeric index bug

2010-05-13 Thread Arpad Ray
2010/5/13 Johannes Schlüter > 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

Re: [PHP-DEV] Re: $_SESSION numeric index bug

2010-05-13 Thread Etienne Kneuss
Hello, On Thu, May 13, 2010 at 5:39 PM, Mathias Grimm wrote: > i did the same on linux, with the same version of php and the bug is there!! > > > On Thu, May 13, 2010 at 12:25 PM, Mathias Grimm wrote: > >> im using php 5.1.6 on xampp and i find a bug. >> how to know if the bug was fixed? >> >> th

Re: [PHP-DEV] Re: $_SESSION numeric index bug

2010-05-13 Thread Johannes Schlüter
On Thu, 2010-05-13 at 12:39 -0300, Mathias Grimm wrote: > > im using php 5.1.6 on xampp and i find a bug. > > how to know if the bug was fixed? > > 5.1.6 is old. Please test a newer version before reporting anything. Secondly please consult regular support forums/groups

[PHP-DEV] Re: $_SESSION numeric index bug

2010-05-13 Thread Mathias Grimm
i did the same on linux, with the same version of php and the bug is there!! On Thu, May 13, 2010 at 12:25 PM, Mathias Grimm wrote: > im using php 5.1.6 on xampp and i find a bug. > how to know if the bug was fixed? > > the bug is: > > 1. > session_start(); > $_SESSION[0] = 'test'; > echo $_SES