Dear...
The on-line manual is very confusing (or wrong)
regarding stristr().
Right at the top it says:
stristr -- Case-insensitive strstr()
I would interpret this as strstr() being
case-insensitive, and not stristr() as the case is (no pun intended).
I noticed this when reading the danish
translation, which is even more confusing (concerning the above mentioned
sentence that is).
The note regarding strstr() is, however, right on
the money, so a similar note for stristr() stating its case-insensitive
behaviour would clear things up. :-)
Regards,
Michael Bruus, DK.
|
- [PHP-DOC] Re: documentation on stristr is confusing Michael Bruus
- [PHP-DOC] Re: documentation on stristr is confusing Mehdi Achour