summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2017-06-28 00:43:55 +0300
committerDmitry Stogov <dmitry@zend.com>2017-06-28 00:43:55 +0300
commitf626a783b69d092fc4a75a5ab450ed07b9468a4f (patch)
tree6e00f2f6aa116bb6ede2cec83faed4f6e096bc9f /ext/pcre/php_pcre.h
parente08c0ed8ced788a133b54ad96fdf681158b34e3d (diff)
downloadphp-git-f626a783b69d092fc4a75a5ab450ed07b9468a4f.tar.gz
Avoid string duplication in preg_split()
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 9265831d0e..59221c04f3 100644
--- a/ext/pcre/php_pcre.h
+++ b/ext/pcre/php_pcre.h
@@ -64,7 +64,7 @@ PHPAPI void php_pcre_match_impl( pcre_cache_entry *pce, char *subject, int sub
PHPAPI zend_string *php_pcre_replace_impl(pcre_cache_entry *pce, zend_string *subject_str, char *subject, int subject_len, zend_string *replace_str,
int limit, int *replace_count);
-PHPAPI void php_pcre_split_impl( pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
+PHPAPI void php_pcre_split_impl( pcre_cache_entry *pce, zend_string *subject_str, zval *return_value,
zend_long limit_val, zend_long flags);
PHPAPI void php_pcre_grep_impl( pcre_cache_entry *pce, zval *input, zval *return_value,