cvs: php4 /ext/standard string.c
| From: | Sterling Hughes | Date: | Thu, 06 Sep 2001 08:54:54 +0000 |
| Subject: | cvs: php4 /ext/standard string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-7245@lists.php.net to get a copy of this message | ||
sterling Thu Sep 6 04:54:54 2001 EDT
Modified files:
/php4/ext/standard string.c
Log:
avoid lowercasing the string
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.235 php4/ext/standard/string.c:1.236
--- php4/ext/standard/string.c:1.235 Tue Sep 4 06:44:28 2001
+++ php4/ext/standard/string.c Thu Sep 6 04:54:54 2001
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.235 2001/09/04 10:44:28 eschmid Exp $ */
+/* $Id: string.c,v 1.236 2001/09/06 08:54:54 sterling Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -1327,6 +1327,10 @@
zend_get_parameters_ex(2, &haystack, &needle) == FAILURE) {
WRONG_PARAM_COUNT;
}
+
+ SEPERATE_ZVAL(haystack);
+ SEPERATE_ZVAL(needle);
+
convert_to_string_ex(haystack);
if (!Z_STRLEN_PP(needle)) {