I run always into the problem that my logic mind says "I search what where" and I bet this is with most developers.
However, the string search function of PHP strpos says "I search where what" which is not intuitive.
strpos ( string $haystack , mixed $needle [, int $offset = 0 ] ) : int
Question:
Is there any way to change (override) the core function?
Bonus questions (which are more directed to developers who work/ed on PHP):
A. What was the reason for the existing order of the parameters?
B. Is there any chance that the main PHP developers consider changing this in one of the future PHP versions? Or adding a modified version of the strpos() to the core.