summaryrefslogtreecommitdiff
path: root/phpdbg_bp.c
diff options
context:
space:
mode:
Diffstat (limited to 'phpdbg_bp.c')
-rw-r--r--phpdbg_bp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpdbg_bp.c b/phpdbg_bp.c
index 1ae6d5fd4a..d001c97b4d 100644
--- a/phpdbg_bp.c
+++ b/phpdbg_bp.c
@@ -1024,7 +1024,11 @@ static inline phpdbg_breakbase_t *phpdbg_find_conditional_breakpoint(zend_execut
zend_try {
PHPDBG_G(flags) |= PHPDBG_IN_COND_BP;
zend_execute(EG(active_op_array) TSRMLS_CC);
+#ifdef PHP_VERSION_ID >= 50700
+ if (zend_is_true(retval TSRMLS_CC)) {
+#else
if (zend_is_true(retval)) {
+#endif
breakpoint = SUCCESS;
}
} zend_catch {