News for hackers. Stuff that matters.
Re:Why PHP Was a Ghetto by slig on Tuesday April 19, 2011 @06:35PM (#2464510)
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.
Re:Why PHP Was a Ghetto by edcrfv on Wednesday April 20, 2011 @08:03AM (#2466217)
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".'

Re:Why PHP Was a Ghetto by Joeri on Wednesday April 20, 2011 @07:44AM (#2466179)
The parameter order is simple. String functions: haystack, needle. Array functions: needle, haystack. The naming however...