note 96537 deleted from function.count by googleguy
| From: | googleguy@php.net | Date: | Mon, 17 Sep 2012 00:09:15 +0000 |
| Subject: | note 96537 deleted from function.count by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-190825@lists.php.net to get a copy of this message | ||
Note Submitter: D X
----
To know how much properties an object has, I do it like this:
count((array) $object)
... because count($object) gives me allways 1