Empty strings
| From: | Manuzhai | Date: | Mon, 25 Mar 2002 08:55:58 +0000 |
| Subject: | Empty strings | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-90000@lists.php.net to get a copy of this message | ||
I have an array with elements of which a lot are empty strings (according to
var_dump, string (0)). I try to unset() these elements from the array by
checking for $p[$i] == "", or strlen($p[$i]) < 1, or !$p[$i], but it only
deletes a few of them, not all. Anyone have an idea as to how this could be
the case?
TIA...
Manuzhai