mirror of
https://github.com/php/php-src.git
synced 2026-04-29 03:03:26 +02:00
...
This commit is contained in:
@@ -194,11 +194,19 @@ int phpdbg_find_breakpoint_file(zend_op_array *op_array TSRMLS_DC) /* {{{ */
|
||||
int phpdbg_find_breakpoint_symbol(zend_function *fbc TSRMLS_DC) /* {{{ */
|
||||
{
|
||||
const char *fname;
|
||||
zend_op_array *ops;
|
||||
phpdbg_breaksymbol_t *bp;
|
||||
|
||||
if (fbc->type != ZEND_USER_FUNCTION) {
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
ops = (zend_op_array*)fbc;
|
||||
|
||||
if (ops->scope) {
|
||||
/* do not check class methods */
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
fname = ((zend_op_array*)fbc)->function_name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user