3 ms·
It's more like "Arguably the most used documentation for any language." As it's impossible to memorize the patternless names and random parameter order for simi
by slig 16y ago
It's more like "Arguably the most used documentation for any language." As it's impossible to memorize the patternless names and random parameter order for similar functions.
- Joeri 16y agoThe parameter order is simple. String functions: haystack, needle. Array functions: needle, haystack. The naming however...
- edcrfv 16y agoHere'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.parameterorder 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".'