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
commit07f60310b2f53a9209b9ce02388305d7195ef92a (patch)
tree68461b3668abe305c5466692a0edb214390b9e29
parentc4a8866abb8e748f8a9b78d7b2d3836a542569a7 (diff)
downloadphp-git-07f60310b2f53a9209b9ce02388305d7195ef92a.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 9381aaaeea..7dde105247 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);