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