note 14784 rejected and deleted from function.stristr.php by alindeman
| From: | alindeman@php.net | Date: | Wed, 15 Aug 2001 00:44:39 +0000 |
| Subject: | note 14784 rejected and deleted from function.stristr.php by alindeman | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16733@lists.php.net to get a copy of this message | ||
There appears to be a bug in this function. If $haystack contains a string that includes
"<P>" and $needle is "<p>", then this function fails. However, if
we keep $haystack the same and change $needle to "<P>", the function works. This is
very odd, since I have only observed this behavior in this particular instance, no where else...
Take care,
Darwin