File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ static PHP_RSHUTDOWN_FUNCTION(phpdbg) /* {{{ */
133
133
return SUCCESS ;
134
134
} /* }}} */
135
135
136
- /* {{{ proto void phpdbg_break([string expression])
136
+ /* {{{ proto void phpdbg_break([integer type, string expression])
137
137
instructs phpdbg to insert a breakpoint at the next opcode */
138
138
static PHP_FUNCTION (phpdbg_break )
139
139
{
@@ -190,9 +190,17 @@ static PHP_FUNCTION(phpdbg_clear)
190
190
zend_hash_clean (& PHPDBG_G (bp )[PHPDBG_BREAK_COND ]);
191
191
} /* }}} */
192
192
193
+ ZEND_BEGIN_ARG_INFO_EX (phpdbg_break_arginfo , 0 , 0 , 0 )
194
+ ZEND_ARG_INFO (0 , type )
195
+ ZEND_ARG_INFO (0 , expression )
196
+ ZEND_END_ARG_INFO ()
197
+
198
+ ZEND_BEGIN_ARG_INFO_EX (phpdbg_clear_arginfo , 0 , 0 , 0 )
199
+ ZEND_END_ARG_INFO ()
200
+
193
201
zend_function_entry phpdbg_user_functions [] = {
194
- PHP_FE (phpdbg_clear , NULL )
195
- PHP_FE (phpdbg_break , NULL )
202
+ PHP_FE (phpdbg_clear , phpdbg_clear_arginfo )
203
+ PHP_FE (phpdbg_break , phpdbg_break_arginfo )
196
204
#ifdef PHP_FE_END
197
205
PHP_FE_END
198
206
#else
You can’t perform that action at this time.
0 commit comments