note 101382 deleted from function.count by danbrown
| From: | danbrown@php.net | Date: | Tue, 14 Dec 2010 01:08:23 +0000 |
| Subject: | note 101382 deleted from function.count by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-174890@lists.php.net to get a copy of this message | ||
Note Submitter: malchata
----
Regarding an earlier comment: There's never a good reason to use count() on a string, as it
expects array or object data types. If you're using count() on a string, you should be using it
strlen() instead.