note 90880 deleted from function.isset by danbrown
| From: | danbrown@php.net | Date: | Thu, 14 May 2009 12:37:48 +0000 |
| Subject: | note 90880 deleted from function.isset by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-154589@lists.php.net to get a copy of this message | ||
Note Submitter: contact at xtrmaddons dot com
----
isset($abc['aaaaaaa']) is simply bad syntax writing !
you must use array_key_exists('aaaaaaa', $abc) instead.
return true only if the array key exists
The same syntax error isset($abc->aaaaaaa)
array_key_exists( 'aaaaaaa', get_object_vars( $abc ) )
return true only if the object var exists