PHP 8.5.0 Beta 2 available for testing

Voting

: min(one, three)?
(Example: nine)

The Note You're Voting On

nthitz at gmail dot com
19 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

AltStyle によって変換されたページ (->オリジナル) /