note 3986 deleted from stristr by ronabop

From: Date: Sun, 05 Nov 2000 04:36:02 +0000
Subject: note 3986 deleted from stristr by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-7391@lists.php.net to get a copy of this message
In the PHP4.0 beta 4 pl1, the stristr() shows a strange behaviour. I wrote the following lines, <pre> $a = "aaaBBBcccDDD"; $b = stristr($a, "CCC"); echo $a; </pre> It prints "aaabbbcccddd", the original string $a become lower cased which it should be in earlier versions. Is it a bug or a feature ? This makes all the printout goes wrong with my scripts.

« previous php.notes (#7391) next »