note 24550 added to language.operators.errorcontrol

From: Date: Wed, 21 Aug 2002 07:50:33 +0000
Subject: note 24550 added to language.operators.errorcontrol
Groups: php.notes 
Request: Send a blank email to php-notes+get-35294@lists.php.net to get a copy of this message
When you check if an index of an array is set, you imply that the array itself already exists. So if ( isset ( $array [ 'index' ] ) ) { } would generate a notice if $array is not defined, but not if $array _is_ defined, but the index 'index' not. And so on for nested arrays ofcourse -- http://www.php.net/manual/en/language.operators.errorcontrol.php http://master.php.net/manage/user-notes.php?action=edit+24550 http://master.php.net/manage/user-notes.php?action=delete+24550 http://master.php.net/manage/user-notes.php?action=reject+24550

« previous php.notes (#35294) next »