How to deal with an array of equal values and max function?
<p>In PHP, <code>max()</code> returns the highest value in an array or the greatest value among inputs. If we have two or more equally greatest values, how to deal with that situation?
eg </p>

<pre><code>$arr = array("a"=&gt;1,"b"=&gt;10, "c"=&gt;10);
</code></pre>

<p>now, what should <code>max($arr)</code>, return. Ideally it returns the first encountered highest value, b. What if I want both b and c as result?</p>
