note 74616 added to function.count
| From: | aimengharbi at hotmail dot com | Date: | Fri, 20 Apr 2007 09:37:56 +0000 |
| Subject: | note 74616 added to function.count | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125609@lists.php.net to get a copy of this message | ||
Hi everybody, it's that i'm havin problem with this function count(), it return a false
result not like you've written in the exemple :s
$obj = new StdClass;
$obj->foo = 'Une propriété';
$obj->bar = 'Une autre propriété';
$obj->faoo = 'Une propriété';
$obj->baar = 'Une autre propriété';
$result = count($obj);
echo $result;//>>> it print 1 :s:s
Plz can i have help
----
Server IP: 69.147.83.197
Probable Submitter: 41.224.240.191 (proxied: 41.224.240.191)
----
Manual Page -- http://www.php.net/manual/en/function.count.php
Edit -- https://master.php.net/note/edit/74616
Del: integrated -- https://master.php.net/note/delete/74616/integrated
Del: useless -- https://master.php.net/note/delete/74616/useless
Del: bad code -- https://master.php.net/note/delete/74616/bad+code
Del: spam -- https://master.php.net/note/delete/74616/spam
Del: non-english -- https://master.php.net/note/delete/74616/non-english
Del: in docs -- https://master.php.net/note/delete/74616/in+docs
Del: other reasons-- https://master.php.net/note/delete/74616
Reject -- https://master.php.net/note/reject/74616
Search -- https://master.php.net/manage/user-notes.php