summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.h
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2006-05-09 18:28:11 +0000
committerAndrei Zmievski <andrei@php.net>2006-05-09 18:28:11 +0000
commit96efa426b8bc9583113f9b8bb296d02e672ecaa7 (patch)
treedb8cacc880ddbb546f62c66ed02bbd2682ef35b1 /ext/pcre/php_pcre.h
parente2a1d7a3e1e1ba1277eadc0fef156cf7ee12377c (diff)
downloadphp-git-96efa426b8bc9583113f9b8bb296d02e672ecaa7.tar.gz
Add pcre_last_error() and backtrack/recursion limit settings.
Diffstat (limited to 'ext/pcre/php_pcre.h')
-rw-r--r--ext/pcre/php_pcre.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pcre/php_pcre.h b/ext/pcre/php_pcre.h
index 80e7c1a34b..6a9c94b68c 100644
--- a/ext/pcre/php_pcre.h
+++ b/ext/pcre/php_pcre.h
@@ -64,6 +64,9 @@ PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(char *regex, int regex_le
ZEND_BEGIN_MODULE_GLOBALS(pcre)
HashTable pcre_cache;
+ long backtrack_limit;
+ long recursion_limit;
+ int error_code;
ZEND_END_MODULE_GLOBALS(pcre)
#ifdef ZTS