HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by benkant | Hacker News Reader
Parent
Full thread
benkant
·
$needle, $haystack
or
$haystack, $needle
View on HN
Throlkim
·
I google this nearly every time I use a PHP function.
mikeknoop
·
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".
Reply on news.ycombinator.com