Hi, Actually, the error_reporting is set to E_ALL and was set to E_ALL in the previous version, too. I found out they added the Uninitialized string offset in Version 4.1.0 (see <http://www.php.net/ChangeLog-4.php>). I just wanted to know what this error means. Anyway, I think I'll just add a "@" sign to supporess warnings.
Thanks! Uri. -------------------------------------------------------- Chris Hewitt wrote: > > Uri, > > Sounds like the error reporting is set to E_ALL on the new php version > and was set at a lower level before. The error indicates that the > variable has not specfically been assigned a value before being used. > > HTH > Chris > > Uri Even-Chen wrote: > > >After upgrading to Red Hat Linux 7.3 (which also includes a new PHP > >version), I saw this warning (Uninitialized string offset) on my apache > >error log files. It refers to a line which was perfectly legal before: > > > > if > >(isset($GLOBALS['SPEEDY_GLOBAL_VARS']['CURRENT_USER']['UserName'])) > > > >I always use isset to check if a variable is defined. Do you know why I > >get this warning? -------------------------------------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php