title: How to get array key from corresponding array value?
body: <p>You can easily get an array value by its key like so: <code>$value = array[$key]</code> but what if I have the value and I want its key. What's the best way to get it?</p>