Bug #12753 Updated: stristr Bug

From: Date: Sat, 20 Oct 2001 10:06:07 +0000
Subject: Bug #12753 Updated: stristr Bug
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-68490@lists.php.net to get a copy of this message
ID: 12753 Updated by: sander Reported By: Darwin@MusePlay.com Old Status: Open Status: Closed Bug Type: Strings related Operating System: Linux 7.1 PHP Version: 4.0.6 New Comment: Unable to reproduce with 4.1.0RC1. Previous Comments: ------------------------------------------------------------------------ [2001-08-15 01:38:27] Darwin@MusePlay.com 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 this bug report at http://bugs.php.net/?id=12753&edit=1

« previous php.dev (#68490) next »