remove element from array based on its value?
<p>i've got a regular array with keys and values.</p>

<p>is there a simple way to remove the array element based on its value or do i have to foreach-loop it through and check every value to remove it?</p>
