[PHP-DEV] PHP 4.0 Bug #3890: stristr() changes haystack and needle strings to lowercase From: mikesun <email protected>
Date: 03/21/00

From: mikesun <email protected>
Operating system: Redhat 6.1
PHP version: 4.0 Beta 4 Patch Level 1
PHP Bug Type: Other
Bug description: stristr() changes haystack and needle strings to lowercase

$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)

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>