summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2015-07-09 18:19:12 +0200
committerNikita Popov <nikic@php.net>2015-07-09 18:19:12 +0200
commit8abc3022b070a378dc31f9727ddece78557ca7a8 (patch)
tree246ee229572f1d000452f0d960a758e9a4761e5b
parentf5db5a558d550bf441373febebbb02f3884209d1 (diff)
downloadphp-git-8abc3022b070a378dc31f9727ddece78557ca7a8.tar.gz
Update token_get_all() arginfo
-rw-r--r--ext/tokenizer/tokenizer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/tokenizer/tokenizer.c b/ext/tokenizer/tokenizer.c
index 63405ea6cd..6961eb8432 100644
--- a/ext/tokenizer/tokenizer.c
+++ b/ext/tokenizer/tokenizer.c
@@ -46,6 +46,7 @@ void tokenizer_token_get_all_register_constants(INIT_FUNC_ARGS) {
/* {{{ arginfo */
ZEND_BEGIN_ARG_INFO_EX(arginfo_token_get_all, 0, 0, 1)
ZEND_ARG_INFO(0, source)
+ ZEND_ARG_INFO(0, flags)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_token_name, 0, 0, 1)
@@ -277,7 +278,7 @@ static zend_bool tokenize_parse(zval *return_value, zend_string *source)
/* }}} */
-/* {{{ proto array token_get_all(string source)
+/* {{{ proto array token_get_all(string source [, int flags])
*/
PHP_FUNCTION(token_get_all)
{