Skip to content

Commit 8abc302

Browse files
committed
Update token_get_all() arginfo
1 parent f5db5a5 commit 8abc302

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/tokenizer/tokenizer.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ void tokenizer_token_get_all_register_constants(INIT_FUNC_ARGS) {
4646
/* {{{ arginfo */
4747
ZEND_BEGIN_ARG_INFO_EX(arginfo_token_get_all, 0, 0, 1)
4848
ZEND_ARG_INFO(0, source)
49+
ZEND_ARG_INFO(0, flags)
4950
ZEND_END_ARG_INFO()
5051

5152
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)
277278

278279
/* }}} */
279280

280-
/* {{{ proto array token_get_all(string source)
281+
/* {{{ proto array token_get_all(string source [, int flags])
281282
*/
282283
PHP_FUNCTION(token_get_all)
283284
{

0 commit comments

Comments
 (0)