php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12753 stristr Bug
Submitted: 2001-08-15 01:38 UTC Modified: 2001-10-20 06:06 UTC
From: Darwin at MusePlay dot com Assigned:
Status: Closed Package: Strings related
PHP Version: 4.0.6 OS: Linux 7.1
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Darwin at MusePlay dot com
New email:
PHP Version: OS:

 

 [2001-08-15 01:38 UTC] Darwin at MusePlay dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-20 06:06 UTC] sander@php.net
Unable to reproduce with 4.1.0RC1.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC