3 ms·
$needle, $haystack
or
$haystack, $needle
$needle, $haystack
or
$haystack, $needle
I google this nearly every time I use a PHP function.
I can't remember off the top of my head but it should be ($needle, $haystack) if it isn't because of the appearance order in the English colloquialism "NEEDLE in the HAYSTACK".