diff options
Diffstat (limited to 'ext/pcre/php_pcre.h')
-rw-r--r-- | ext/pcre/php_pcre.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.h b/ext/pcre/php_pcre.h index fb065fad66..b2715e9223 100644 --- a/ext/pcre/php_pcre.h +++ b/ext/pcre/php_pcre.h @@ -40,7 +40,10 @@ PHP_FUNCTION(preg_split); PHP_FUNCTION(preg_quote); PHP_FUNCTION(preg_grep); -char *_php_pcre_replace(char *regex, char *subject, char *replace); +char *php_pcre_replace(char *regex, int regex_len, + char *subject, int subject_len, + char *replace, int replace_len, + int *result_len); extern zend_module_entry pcre_module_entry; #define pcre_module_ptr &pcre_module_entry |