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
 [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: Mon Dec 30 14:01:28 2024 UTC