note 30251 deleted from function.sizeof by didou
| From: | didou@php.net | Date: | Wed, 15 Oct 2003 17:30:18 +0000 |
| Subject: | note 30251 deleted from function.sizeof by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58652@lists.php.net to get a copy of this message | ||
Note Submitter: admin@bar-jeans.de
----
Be careful about one thing:
print (sizeof($keywords)); // will print 0
$keywords="";
print (sizeof($keywords)); // will print 1
undefined arrays have size 0, if was cleared using ="" it has size 1