note 24550 deleted from language.operators.errorcontrol by tularis
| From: | tularis@php.net | Date: | Tue, 12 Aug 2008 16:39:02 +0000 |
| Subject: | note 24550 deleted from language.operators.errorcontrol by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-143415@lists.php.net to get a copy of this message | ||
Note Submitter: drm at gerard dot yoursite dot nl
----
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