note 14785 added to function.stristr.php

From: Date: Tue, 14 Aug 2001 21:47:27 +0000
Subject: note 14785 added to function.stristr.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-16721@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 '<' immediately followed by 'P' immediately followed by '>' and $needle is '<' immediately followed by 'p' immediately followed by '>', then this function fails. However, if we keep $haystack the same and change $needle to '<' immediately followed by 'P' immediately followed by '>', 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 (#16721) next »