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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Mon Apr 29 14:01:30 2024 UTC