Remove same value in associative array : <p>I have following associative array I wanna remove those ones that which have same value and keep one of theme(for example there is tow 124 value one of theme should be removed):</p>

<pre><code>Array
        (
            [0] =&gt; 124
            [1] =&gt; 124
            [2] =&gt; 35
        )
</code></pre>
