Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
benkant
· 16y ago · 0 comments
$needle, $haystack
or
$haystack, $needle
Comments
[–]
Throlkim
16y ago
I google this nearly every time I use a PHP function.
[–]
mikeknoop
16y ago
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".