Bug #12753: stristr Bug
| From: | Darwin at MusePlay dot com | Date: | Wed, 15 Aug 2001 05:38:27 +0000 |
| Subject: | Bug #12753: stristr Bug | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-63222@lists.php.net to get a copy of this message | ||
From: Darwin@MusePlay.com
Operating system: Linux 7.1
PHP version: 4.0.6
PHP Bug Type: Unknown/Other Function
Bug description: stristr Bug
There appears to be a bug in the stristr 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
--
Edit bug report at: http://bugs.php.net/?id=12753&edit=1