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 <mathiasgr...@gmail.com>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. > <?php > session_start(); > $_SESSION[0] = 'test'; > echo $_SESSION[0]; > > 2. > <?php > session_start(); > //$_SESSION[0] = 'test'; > echo $_SESSION[0]; > > the expected was: > test > > the result was: > notice... > > after comment and reload, throws: > * > * > *Notice*: Undefined offset: 0 in * > C:\xampp_padrao\xampp\htdocs\indisponibilidade_patrimonial\index.php* on > line *4* > * > * > if dont use numeric index, it works!, but if index is numeric, bug! > > if it was not fixed, a want to fix it, but i dont have cvs access > > -- > Att. > Mathias Grimm > > http://mathiasgrimm.com.br > http://phpempregos.com.br > -- Att. Mathias Grimm http://mathiasgrimm.com.br http://phpempregos.com.br