From: Ilia Alshanetsky Date: Sun, 25 Aug 2002 19:08:07 +0000 (+0000) Subject: Slight optimization of php_strtoupper & php_strtoupper functions. X-Git-Tag: RELEASE_0_91~240 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64ef43ecd42c19b6489b495d9a4da2efdf4ff999;p=php Slight optimization of php_strtoupper & php_strtoupper functions. --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 68b3de8e84..8eb1167b8f 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -942,14 +942,14 @@ restore: */ PHPAPI char *php_strtoupper(char *s, size_t len) { - char *c; - int ch; - size_t i; - + char *c, *e; + c = s; - for (i=0; i