- MFH pcre_get_compiled_regex_cache() support

This commit is contained in:
Marcus Boerger 2006-05-09 23:53:40 +00:00
parent 637a40423c
commit 0de69fe97d
2 changed files with 29 additions and 15 deletions

View file

@ -57,8 +57,11 @@ typedef struct {
unsigned const char *tables;
#endif
int compile_options;
int refcount;
} pcre_cache_entry;
PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(char *regex, int regex_len, pcre_extra **extra, int *preg_options, int *compile_options TSRMLS_DC);
ZEND_BEGIN_MODULE_GLOBALS(pcre)
HashTable pcre_cache;
long backtrack_limit;