note 68911 deleted from function.count by bjori
| From: | bjori@php.net | Date: | Tue, 15 Aug 2006 18:20:50 +0000 |
| Subject: | note 68911 deleted from function.count by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-115951@lists.php.net to get a copy of this message | ||
Note Submitter: asdf at asdf dot com
Reason: useless
----
If you feed count() a boolean value, it should NOT return a count at all -- the way its done in
languages like c++ and java.
This creates a HUGE problem if your doing error handling in classes.