<?php $test[0] = 0; $test[1] = 1; echo $test[8]; ?> you never defined test[8] thats why its undeined. more likley then not check in your php.ini file, i bet you have warning = ~E_WARNINGS E_ALL; in your linux box and warning = E_ALL; in your win box. I like all warnings and errors showing, personal opinion. -- Chris Lee [EMAIL PROTECTED] "Johnny Nguyen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Can somebody explain to me the undefined offset warning? > > Warning: Undefined offset: 8 in D:\filepath\CalendarClass.php on line 387 > > It was working fine on linux, but when i moved to iis 5.0 running php i got > this error. > > Regards, > Johnny Nguyen > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]