<pre>
0 - an array with the byte-value as key and the frequency of every byte as value.
1 - same as 0 but only byte-values with a frequency greater than zero are listed.
2 - same as 0 but only byte-values with a frequency equal to zero are listed.
3 - a string containing all used byte-values is returned.
4 - a string containing all not used byte-values is returned.
skaidoma:"batai buvo 2, oi kaip gerai";
</pre>
<?
$s = "batai buvo 2, oi kaip gerai";
$arr = count_chars($s, 0);
if (is_array($arr)){
foreach ($arr as $k=>$v){
echo "raktas $k chr:". chr($k)." ir reiksme $v \n <br>";
}
}else{
echo "$arr<br>";
}
?>
<?
for ($i=0; $i< 1000; $i++)
{
echo "&#{$i}; \n <br>";
}
?>