Skip to content

Commit

Permalink
Update token_get_all() arginfo
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Jul 9, 2015
1 parent f5db5a5 commit 8abc302
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/tokenizer/tokenizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 8abc302

Please sign in to comment.