note 51781 deleted from function.array-key-exists by bjori
| From: | bjori@php.net | Date: | Mon, 01 May 2006 22:29:42 +0000 |
| Subject: | note 51781 deleted from function.array-key-exists by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-110307@lists.php.net to get a copy of this message | ||
Note Submitter: dave underscore bachtel at yahoo dot com
----
After banging my head against a desk for the last few days trying to squeeze out some efficiency
improvements, I began doing benchmarks for execution time using the microtime() function.
using:
array_key_exists()
34.322115
isset()
0.969917
I measure a 34x increase in performance (yes, thats 34 times!) in my application just by
substituting one function for the other. Hard to believe!