Skip to content

Commit

Permalink
Merge branch 'xdebug_3_3'
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed Dec 6, 2023
2 parents 7e929a2 + f79b4f0 commit 20015da
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/base/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -851,11 +851,6 @@ static bool should_run_user_handler(zend_execute_data *execute_data)
return false;
}

/* If the stack vector hasn't been initialised yet, we should abort immediately */
if (!XG_BASE(stack)) {
return false;
}

return true;
}

Expand All @@ -864,6 +859,11 @@ static bool should_run_user_handler(zend_execute_data *execute_data)
* negation should be **added** to the usage below in xdebug_execute_ex. */
static bool should_run_user_handler_wrapper(zend_execute_data *execute_data)
{
/* If the stack vector hasn't been initialised yet, we should abort immediately */
if (!XG_BASE(stack)) {
return false;
}

#if PHP_VERSION_ID >= 80100
return !should_run_user_handler(execute_data);
#else
Expand Down

0 comments on commit 20015da

Please sign in to comment.