summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2011-04-13 13:38:52 +0000
committerFelipe Pena <felipe@php.net>2011-04-13 13:38:52 +0000
commit782c00d7441a5eedf446e3781b3bd8163bc0fb04 (patch)
treef24f5993b085b38294708fc6a1ea5c849ce8cbdc
parent2e206e07615b1f479a043ed1f64f6b07a86b5f6f (diff)
downloadphp-git-782c00d7441a5eedf446e3781b3bd8163bc0fb04.tar.gz
- Remove undesired line (reported by Gökhan Özbulak)
-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);