note 12460 deleted from function.empty by didou
| From: | didou@php.net | Date: | Sun, 18 May 2003 10:00:04 +0000 |
| Subject: | note 12460 deleted from function.empty by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48478@lists.php.net to get a copy of this message | ||
Note Submitter: php-general@lists.php.net
----
The last post by mitch is incorrect.
$myvar = "";
if (empty($myvar)) {
print "empty variable";
}
will print "empty variable"
This is true on my 3.0.16. The only purpose I use it for is to check for empty strings.