Voting

: max(nine, eight)?
(Example: nine)

The Note You're Voting On

nthitz at gmail dot com
18 years ago
I did some trials and if you know the approximate size of the arrays then it would seem to be a lot faster to do this <?php array_intersect($smallerArray, $largerArray); ?> Where $smallerArray is the array with lesser items. I only tested this with long strings but I would imagine that it is somewhat universal.

<< Back to user notes page

To Top