Hacker News new | ask | show | jobs
by edcrfv 5536 days ago
Here's something that makes it easy for you to remember - from the PHP Manual - http://www.php.net/manual/en/faq.using.php#faq.using.paramet...

'Array function parameters are ordered as "needle, haystack" whereas String functions are the opposite, so "haystack, needle".'