documentation on stristr is confusing
| From: | Michael Bruus | Date: | Thu, 30 Dec 2004 22:54:32 +0000 |
| Subject: | documentation on stristr is confusing | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969365727@lists.php.net to get a copy of this message | ||
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.