Voting

: five minus one?
(Example: nine)

The Note You're Voting On

Final
13 years ago
I find this function vey useful when you have a big array and you want to know if a given value is in the array. in_array in fact becomes quite slow in such a case, but you can flip the big array and then use isset to obtain the same result in a much faster way.

<< Back to user notes page

To Top