pajoye                                   Mon, 12 Sep 2011 12:59:52 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=316531

Log:
- revert incorrect fix introduced in r316528

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/pcre/php_pcre.c
    U   php/php-src/branches/PHP_5_4/ext/pcre/php_pcre.c
    U   php/php-src/trunk/ext/pcre/php_pcre.c

Modified: php/php-src/branches/PHP_5_3/ext/pcre/php_pcre.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/pcre/php_pcre.c    2011-09-12 12:44:49 UTC 
(rev 316530)
+++ php/php-src/branches/PHP_5_3/ext/pcre/php_pcre.c    2011-09-12 12:59:52 UTC 
(rev 316531)
@@ -1013,7 +1013,6 @@
                        return NULL;
                }
        } else {
-               convert_to_string_ex(&replace_val);
                replace = Z_STRVAL_P(replace_val);
                replace_len = Z_STRLEN_P(replace_val);
                replace_end = replace + replace_len;

Modified: php/php-src/branches/PHP_5_4/ext/pcre/php_pcre.c
===================================================================
--- php/php-src/branches/PHP_5_4/ext/pcre/php_pcre.c    2011-09-12 12:44:49 UTC 
(rev 316530)
+++ php/php-src/branches/PHP_5_4/ext/pcre/php_pcre.c    2011-09-12 12:59:52 UTC 
(rev 316531)
@@ -1013,7 +1013,6 @@
                        return NULL;
                }
        } else {
-               convert_to_string_ex(&replace_val);
                replace = Z_STRVAL_P(replace_val);
                replace_len = Z_STRLEN_P(replace_val);
                replace_end = replace + replace_len;

Modified: php/php-src/trunk/ext/pcre/php_pcre.c
===================================================================
--- php/php-src/trunk/ext/pcre/php_pcre.c       2011-09-12 12:44:49 UTC (rev 
316530)
+++ php/php-src/trunk/ext/pcre/php_pcre.c       2011-09-12 12:59:52 UTC (rev 
316531)
@@ -1013,7 +1013,6 @@
                        return NULL;
                }
        } else {
-               convert_to_string_ex(&replace_val);
                replace = Z_STRVAL_P(replace_val);
                replace_len = Z_STRLEN_P(replace_val);
                replace_end = replace + replace_len;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to