php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3890 stristr() changes haystack and needle strings to lowercase
Submitted: 2000-03-21 15:32 UTC Modified: 2000-03-22 03:18 UTC
From: mikesun at bigfoot dot com Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Beta 4 Patch Level 1 OS: Redhat 6.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mikesun at bigfoot dot com
New email:
PHP Version: OS:

 

 [2000-03-21 15:32 UTC] mikesun at bigfoot dot com
$haystack = "AbCDEf";
$needle = "CD";
stristr ( $haystack,$needle);
echo $haystack;	// prints 'abcdef'
echo $needle;	// prints 'cd'

My configure line,
./configure --prefix=/usr \
--with-apxs=/usr/sbin/apxs \
--with-config-file-path=/etc/httpd \
--disable-debug \
--enable-debugger \
--enable-magic-quotes \
--enable-track-vars \
--with-system-regex \
--with-xml --with-zlib \

php.ini (no change, use default)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-22 03:14 UTC] thies at cvs dot php dot net
fixed in CVS.
 [2000-03-22 03:18 UTC] thies at cvs dot php dot net
fixed in CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC