diff options
author | Andrei Zmievski <andrei@php.net> | 2000-06-28 20:07:26 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2000-06-28 20:07:26 +0000 |
commit | 29e8e565c6b518a99e550e45b5adfd4d01dafb7d (patch) | |
tree | c6d1dc384d203d05fad88adcac549bf86f85e10e /ext/pcre/php_pcre.h | |
parent | 3860254631a8418679693f08cc7fb6a9e5b6f070 (diff) | |
download | php-git-29e8e565c6b518a99e550e45b5adfd4d01dafb7d.tar.gz |
@- Added an optional parameter to preg_replace() that can be used to
@ specify how many replacements to make. (Andrei)
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 b2715e9223..d796caa1e2 100644 --- a/ext/pcre/php_pcre.h +++ b/ext/pcre/php_pcre.h @@ -43,7 +43,7 @@ PHP_FUNCTION(preg_grep); char *php_pcre_replace(char *regex, int regex_len, char *subject, int subject_len, char *replace, int replace_len, - int *result_len); + int *result_len, int limit); extern zend_module_entry pcre_module_entry; #define pcre_module_ptr &pcre_module_entry |