get the maximum value of the associative array in php : <p>I have the following array</p>

<pre><code>Array
(
    [anger] =&gt; 0
    [disgust] =&gt; 20
    [fear] =&gt; 0
    [joy] =&gt; 22.853
    [sadness] =&gt; 0
    [surprise] =&gt; 0
)
Array
(
    [anger] =&gt; 0
    [disgust] =&gt; 20
    [fear] =&gt; 0
    [joy] =&gt; 22.853
    [sadness] =&gt; 0
    [surprise] =&gt; 0
)
</code></pre>

<p>I want to get key of the maximum value  from the array that is joy from the above array.
Thank you for helping in advance.</p>
