note 80920 deleted from function.array-count-values by nlopess
| From: | nlopess@php.net | Date: | Thu, 07 Feb 2008 12:14:28 +0000 |
| Subject: | note 80920 deleted from function.array-count-values by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-135853@lists.php.net to get a copy of this message | ||
Note Submitter: reaper7861 at gmail dot com
----
[php]<?php
------>$myArray = array();<------this code needs to be removed
for ($i = 0 ; $i < 10 ; $i++)
{
$myObject = new MyObject();
$myArray[$i] = $myObject;
}
echo (array_count_values($myArray));
?>[/php]
This gives you:
Warning: Can only count STRING and INTEGER values...
Found no solution for this yet...
thats the solution for it, later...