note 14784 added to function.stristr.php

From: Date: Tue, 14 Aug 2001 21:45:24 +0000
Subject: note 14784 added to function.stristr.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-16720@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 http://www.php.net/manual/en/function.stristr.php

« previous php.notes (#16720) next »