Is there a difference between the parameter ordering between string functions and array functions or are they the same? I'm finding the differences between the two a little confusing.
Some functions accept parameters in any order, some don't and some are just plain illogical (I always think $needle should come before $haystack). Best to consult the fine manual
Well it's all in the manual e.g. implode() can, for historical reasons, accept its parameters in either order. For consistency with explode(), however, it may be less confusing to use the documented order of arguments.