note 45990 deleted from function.array-keys by danbrown
| From: | danbrown@php.net | Date: | Wed, 25 Aug 2010 01:50:27 +0000 |
| Subject: | note 45990 deleted from function.array-keys by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-172016@lists.php.net to get a copy of this message | ||
Note Submitter: steve at ukwebsystems dot com
----
note to sip at email dot ee
inefficent it may be, but it detects if array keys have been defined with null values.
with the array
$Row['field1'] = null;
$Row['field2'] = 'hello';
array_key_exists('field1',$Row) will return true
isset($Row['field1']) will return false, even though the key is present...