diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-18 12:25:10 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-18 12:32:06 +0100 |
commit | 275fa5356442d4b387cc3401aee276f5a3b452b0 (patch) | |
tree | da724aaae84ca10a12c11d0fae06fdc8d58c0b8a /ext/pcre/php_pcre.h | |
parent | 7ad04a053756902dd87e46e188eb6db0e3ae4dfb (diff) | |
download | php-git-275fa5356442d4b387cc3401aee276f5a3b452b0.tar.gz |
Accept zend_string* instead of char* in php_pcre_match_impl()
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 2385ed414f..0377ce77a8 100644 --- a/ext/pcre/php_pcre.h +++ b/ext/pcre/php_pcre.h @@ -45,7 +45,7 @@ typedef struct _pcre_cache_entry pcre_cache_entry; PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(zend_string *regex); -PHPAPI void php_pcre_match_impl( pcre_cache_entry *pce, char *subject, size_t subject_len, zval *return_value, +PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, zend_string *subject_str, zval *return_value, zval *subpats, int global, int use_flags, zend_long flags, zend_off_t start_offset); PHPAPI zend_string *php_pcre_replace_impl(pcre_cache_entry *pce, zend_string *subject_str, char *subject, size_t subject_len, zend_string *replace_str, |