Are the functions named, and their arguments ordered randomly in PHP? I find it real hard to remember which function is how, and always find myself referring the manual. What do you do to remember them without having to refer the manual every time?
few examples:
array_map(callback, array) but array_filter(array, callback). When dealing with strings strstr(), strpos() and substr() has no underscores but str_replace(), str_pad() and str_split() does. and in most cases, the string is accepted as the first argument but in explode() the string is the second argument.
PHP has quite a few inconsistencies in the internal functions, just something you have to get used to – always have the function reference open when coding.
This is an acknowledged problem, but unresolvable without breaking huge amounts of existing code, ie. all of it, as the functions affected are highly used ones for the most part. :-/