Find the second highest variable in array
<p>I would like to find the second highest variable in an array.</p>

<p><strong>For example if I have:</strong></p>

<pre><code>$cookies = array(
                "chocolate" =&gt; "20",
                "vanilla" =&gt; "14",
                "strawberry" =&gt; "18",
                "raspberry" =&gt; "19",
                "bluebery" =&gt; "29"
);
</code></pre>

<p>I can use <code>max($cookies)</code> to find the highest variable, which is <code>"bluebery" =&gt; "29"</code>.</p>

<p><strong>But how do I find the second highest?</strong> <code>"chocolate" =&gt; "20"</code></p>
