note 55096 deleted from function.array-key-exists by bjori

From: Date: Mon, 01 May 2006 22:30:46 +0000
Subject: note 55096 deleted from function.array-key-exists by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-110312@lists.php.net to get a copy of this message
Note Submitter: vdephily at bluemetrix dot com ---- To the skeptics of isset() performance : I tried to bench the 3 methods in various usecases (varying the array size, keys and content) and couldn't get anything more impressive than a 2x factor. But : * In the real-life project which led me to these considerations, the difference is dramatic : 160 seconds vs 0.21 second (a factor of 760 !). * I've never witnessed array_key_exists() being faster than isset().

« previous php.notes (#110312) next »