note 14785 rejected and deleted from function.stristr.php by alindeman
| From: | alindeman@php.net | Date: | Wed, 15 Aug 2001 00:44:35 +0000 |
| Subject: | note 14785 rejected and deleted from function.stristr.php by alindeman | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16732@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