summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.h
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2004-01-31 22:36:33 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2004-01-31 22:36:33 +0000
commit0330fb2cbf5b8d2f96aaa6f1de114e86d3dbbcfc (patch)
tree91bdb231024a2ed921542afc79c7cad9462c4f05 /ext/pcre/php_pcre.h
parent8e44a6ba0afb24dc8eac0925d5d2886e6e441ed4 (diff)
downloadphp-git-0330fb2cbf5b8d2f96aaa6f1de114e86d3dbbcfc.tar.gz
- Fix bug #27103 (preg_split('//u') incorrectly splits UTF-8 strings into octets).
Diffstat (limited to 'ext/pcre/php_pcre.h')
-rw-r--r--ext/pcre/php_pcre.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pcre/php_pcre.h b/ext/pcre/php_pcre.h
index 25fc6abafe..2f05a27f6f 100644
--- a/ext/pcre/php_pcre.h
+++ b/ext/pcre/php_pcre.h
@@ -43,6 +43,7 @@ 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 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);
extern zend_module_entry pcre_module_entry;
#define pcre_module_ptr &pcre_module_entry
@@ -51,6 +52,7 @@ typedef struct {
pcre *re;
pcre_extra *extra;
int preg_options;
+ int compile_options;
#if HAVE_SETLOCALE
char *locale;
unsigned const char *tables;