diff options
author | Andrey Hristov <andrey@php.net> | 2005-03-12 12:03:50 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2005-03-12 12:03:50 +0000 |
commit | 9e939133d2a1cd1e05d2f2f1afe49efc055a3d3e (patch) | |
tree | 69464185514a7c4d4beda71caba36407ccfed340 /ext/pcre/php_pcre.h | |
parent | 070147105f68e3361e724080962f60e560cb2cfc (diff) | |
download | php-git-9e939133d2a1cd1e05d2f2f1afe49efc055a3d3e.tar.gz |
FR 32275 - fifth parameter to preg_replace() to count number of replaces
made.
#it would be nice if someone of the doc team documents it. thanks!
Diffstat (limited to 'ext/pcre/php_pcre.h')
-rw-r--r-- | ext/pcre/php_pcre.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.h b/ext/pcre/php_pcre.h index 94d300f180..53d045fbb8 100644 --- a/ext/pcre/php_pcre.h +++ b/ext/pcre/php_pcre.h @@ -41,7 +41,7 @@ PHP_FUNCTION(preg_split); PHP_FUNCTION(preg_quote); PHP_FUNCTION(preg_grep); -PHPAPI char *php_pcre_replace(char *regex, int regex_len, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int *result_len, int limit TSRMLS_DC); +PHPAPI char *php_pcre_replace(char *regex, int regex_len, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int *result_len, int limit, int *replace_count TSRMLS_DC); PHPAPI pcre* pcre_get_compiled_regex(char *regex, pcre_extra **extra, int *options TSRMLS_DC); PHPAPI pcre* pcre_get_compiled_regex_ex(char *regex, pcre_extra **extra, int *preg_options, int *coptions TSRMLS_DC); |