note 17447 added to function.strstr
| From: | rabbott at calstatela dot edu | Date: | Sun, 09 Dec 2001 16:06:51 +0000 |
| Subject: | note 17447 added to function.strstr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-22414@lists.php.net to get a copy of this message | ||
Apparently
strstr($haystack, $needle)
fails if $needle is the empty string.
That seems like the wrong thing to do.
--
http://www.php.net/manual/en/function.strstr.php
http://master.php.net/manage/user-notes.php?action=edit+17447
http://master.php.net/manage/user-notes.php?action=delete+17447
http://master.php.net/manage/user-notes.php?action=reject+17447