From 8ccf29eb04ff47f87a98a4d720768aa108ccc67a Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 29 Jun 2015 10:56:51 +0200 Subject: [PATCH] remove comment 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/string.c b/ext/standard/string.c index 101e88b6b3..ba402e3e98 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -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; -- 2.40.0