summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.h
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2000-06-28 20:07:26 +0000
committerAndrei Zmievski <andrei@php.net>2000-06-28 20:07:26 +0000
commit29e8e565c6b518a99e550e45b5adfd4d01dafb7d (patch)
treec6d1dc384d203d05fad88adcac549bf86f85e10e /ext/pcre/php_pcre.h
parent3860254631a8418679693f08cc7fb6a9e5b6f070 (diff)
downloadphp-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.h2
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