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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
38 + 23 = ?
Subscribe to this entry?

 
 [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