]> granicus.if.org Git - php/commitdiff
- Remove undesired line (reported by Gökhan Özbulak)
authorFelipe Pena <felipe@php.net>
Wed, 13 Apr 2011 13:38:52 +0000 (13:38 +0000)
committerFelipe Pena <felipe@php.net>
Wed, 13 Apr 2011 13:38:52 +0000 (13:38 +0000)
ext/standard/string.c

index 9381aaaeeacd1e8095037e90a0ca9dd9fb5d24c5..7dde105247741c60c50efb494e3ff8703ec725a6 100644 (file)
@@ -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);