cvs: php-src(PHP_5_0) / NEWS /ext/standard string.c
| From: | Ilia Alshanetsky | Date: | Thu, 07 Oct 2004 23:11:21 +0000 |
| Subject: | cvs: php-src(PHP_5_0) / NEWS /ext/standard string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-28923@lists.php.net to get a copy of this message | ||
iliaa Thu Oct 7 19:11:21 2004 EDT
Modified files: (Branch: PHP_5_0)
/php-src NEWS
/php-src/ext/standard string.c
Log:
MFH: Fixed bug #30356 (str_ireplace() does not work on all strings).
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.94&r2=1.1760.2.95&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1760.2.94 php-src/NEWS:1.1760.2.95
--- php-src/NEWS:1.1760.2.94 Wed Oct 6 17:32:12 2004
+++ php-src/NEWS Thu Oct 7 19:11:16 2004
@@ -2,6 +2,7 @@
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2004, PHP 5.0.3
- Fixed potential problems with unserializing invalid serialize data. (Marcus)
+- Fixed bug #30356 (str_ireplace() does not work on all strings). (Ilia)
- Fixed bug #30344 (Reflection::getModifierNames() returns too long strings).
(Marcus)
- Fixed bug #30282 (segfault when using unknown/unsupported
http://cvs.php.net/diff.php/php-src/ext/standard/string.c?r1=1.420&r2=1.420.2.1&ty=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.420 php-src/ext/standard/string.c:1.420.2.1
--- php-src/ext/standard/string.c:1.420 Sun Jul 11 17:15:04 2004
+++ php-src/ext/standard/string.c Thu Oct 7 19:11:20 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.420 2004/07/11 21:15:04 andrey Exp $ */
+/* $Id: string.c,v 1.420.2.1 2004/10/07 23:11:20 iliaa Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -2938,7 +2938,7 @@
}
}
- if (char_count == 0) {
+ if (char_count == 0 && case_sensitivity) {
ZVAL_STRINGL(result, str, len, 1);
return 0;
}