]> 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 e6a1d43e19e040cc845572bbaa6d8115a6b2b49e..a8b87e94f311a17f3572b218c60678e3e8d02589 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);