note 64414 added to ref.array
| From: | ben at osu1 dot php dot net | Date: | Thu, 13 Apr 2006 21:59:50 +0000 |
| Subject: | note 64414 added to ref.array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-108017@lists.php.net to get a copy of this message | ||
In reference to the cleanArray function below, note that it checks the value using the empty()
function and removes it. This will also remove the integer value 0 and the string "0"
among other possibly unexpected things. Check the manual entry for empty().
----
Server IP: 64.71.164.2
Probable Submitter: 70.34.237.244
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/ref.array.php
Edit -- http://master.php.net/note/edit/64414
Del: integrated -- http://master.php.net/note/delete/64414/integrated
Del: useless -- http://master.php.net/note/delete/64414/useless
Del: bad code -- http://master.php.net/note/delete/64414/bad+code
Del: spam -- http://master.php.net/note/delete/64414/spam
Del: non-english -- http://master.php.net/note/delete/64414/non-english
Del: in docs -- http://master.php.net/note/delete/64414/in+docs
Del: other reasons-- http://master.php.net/note/delete/64414
Reject -- http://master.php.net/note/reject/64414
Search -- http://master.php.net/manage/user-notes.php