Pokonywanie zamieszania w stogu igły w PHP

Jaki jest najbardziej praktyczny sposób na pokonanie zamieszania w stogu igły w PHP?

Tutaj $ needle jest pierwszym argumentem

bool in_array ( mixed $needle , array $haystack [, bool $strict = FALSE ] )

Tutaj $ needle jest drugim argumentem

string strstr ( string $haystack , mixed $needle [, bool $before_needle = false ] )

questionAnswers(2)

yourAnswerToTheQuestion