note 81639 added to function.empty
| From: | JonathonHibbard at osu1 dot php dot net | Date: | Fri, 07 Mar 2008 15:20:43 +0000 |
| Subject: | note 81639 added to function.empty | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-136821@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 208.69.120.35
Probable Submitter: 216.68.93.139
----
Manual Page -- http://www.php.net/manual/en/function.empty.php
Edit -- https://master.php.net/note/edit/81639
Del: integrated -- https://master.php.net/note/delete/81639/integrated
Del: useless -- https://master.php.net/note/delete/81639/useless
Del: bad code -- https://master.php.net/note/delete/81639/bad+code
Del: spam -- https://master.php.net/note/delete/81639/spam
Del: non-english -- https://master.php.net/note/delete/81639/non-english
Del: in docs -- https://master.php.net/note/delete/81639/in+docs
Del: other reasons-- https://master.php.net/note/delete/81639
Reject -- https://master.php.net/note/reject/81639
Search -- https://master.php.net/manage/user-notes.php