diff --git a/ext/standard/string.c b/ext/standard/string.c index 68b3de8e84b..8eb1167b8fd 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