summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index f11959df7e..79b34e8c5a 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -869,7 +869,8 @@ PHP_FUNCTION(preg_replace)
/* }}} */
-/* {{{ proto preg_split(string pattern, string subject [, int limit ]) */
+/* {{{ proto array preg_split(string pattern, string subject [, int limit ])
+ split string into an array using a perl-style regular expression as a delimiter */
PHP_FUNCTION(preg_split)
{
zval *regex, /* Regular expression to split by */