note 81639 rejected from function.empty by felipe

From: Date: Fri, 07 Mar 2008 23:22:52 +0000
Subject: note 81639 rejected from function.empty by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-136832@lists.php.net to get a copy of this message
Note Submitter: Jonathon Hibbard ---- Hello all. I have been running tests on the empty() function. Apparently, checking to see if a blank array (ie: $var = array()) versus an array with 1200 records (ie: $var = array("1",'2",..."1200") actually evaluates SLOWER when the array actually has value.

« previous php.notes (#136832) next »