RE: [PHP] Undefined index? From: Adrian Ciutureanu (adrian.ciutureanu <email protected>)
Date: 07/11/01

If I know well, "Undefined index" is a warning, not an error.
If you have
error_reporting = E_ALL
in php.ini (not error_reporting = E_ALL & ~E_NOTICE)
$a = array('a' => 'xxx', 'b' => 'yyy');
and you try to access $a['c'], then PHP will report that you are trying
to access an undefined index array.

> -----Original Message-----
> From: Ivo Stoykov [mailto:ivostoykov <email protected>]
> Sent: 11 iulie 2001 17:21
> To: php-general <email protected>
> Subject: [PHP] Undefined index?
>
>
> Hi everybody
>
> Does anybody knows what means "Undefined index" error? I
> couldn't find it in
> docs neither in php online doc site.
>
> Thank you
>
> Ivo
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail:
> php-list-admin <email protected>
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>