summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/string.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index e6a1d43e19..a8b87e94f3 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -2408,8 +2408,6 @@ PHP_FUNCTION(substr_replace)
} else {
l = Z_LVAL_PP(tmp_len);
}
-
- l = Z_LVAL_PP(tmp_len);
zend_hash_move_forward_ex(Z_ARRVAL_PP(len), &pos_len);
} else {
l = Z_STRLEN_P(orig_str);