]> granicus.if.org Git - php/commitdiff
remove comment
authorAnatol Belski <ab@php.net>
Mon, 29 Jun 2015 08:56:51 +0000 (10:56 +0200)
committerAnatol Belski <ab@php.net>
Mon, 29 Jun 2015 10:15:19 +0000 (12:15 +0200)
f and l are the $start and $length, since they come from the user
land, they only can be zend_long

ext/standard/string.c

index 101e88b6b322f602072644c1c5b42ad1cd818fd1..ba402e3e98345d7be4fad8d720a28648726ca5d2 100644 (file)
@@ -2427,7 +2427,7 @@ PHP_FUNCTION(substr_replace)
        zval *from;
        zval *len = NULL;
        zval *repl;
-       zend_long l = 0; /* l and f should be size_t, however this needs much closer below logic investigation.*/
+       zend_long l = 0;
        zend_long f;
        int argc = ZEND_NUM_ARGS();
        zend_string *result;