Skip to content

Commit 5d30b87

Browse files
committed
Updated
1 parent 9f8cbf3 commit 5d30b87

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

zephir_parser.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,18 @@ PHP_MINFO_FUNCTION(zephir_parser)
8585
}
8686
/* }}} */
8787

88+
89+
ZEND_BEGIN_ARG_INFO_EX(arginfo_zephir_parse_file, 0, 0, 2)
90+
ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
91+
ZEND_ARG_TYPE_INFO(0, filepath, IS_STRING, 0)
92+
ZEND_END_ARG_INFO()
93+
8894
/* {{{ zephir_parser_functions[]
8995
*
9096
* Every user visible function must have an entry in zephir_parser_functions[].
9197
*/
9298
static const zend_function_entry zephir_parser_functions[] = {
93-
PHP_FE(zephir_parse_file, NULL)
99+
PHP_FE(zephir_parse_file, arginfo_zephir_parse_file)
94100
PHP_FE_END
95101
};
96102
/* }}} */

0 commit comments

Comments
 (0)