MostCommon |
Top Previous Next |
mostcommon($p)
This returns a new data parameter containing the most common values of $p.
For example:
$v = explode("ENGINEER") $mc = mostcommon($v)
$mc will contain "E"
If there are some values which are equally "most common", all values will be included in the result
$v = explode("OCEANOGRAPHER") $mc = mostcommon($v)
$mc will contain "O, E, A, R"
|