From 6ac3a4ab412f3541fa506c79afe3dd04985f1419 Mon Sep 17 00:00:00 2001 From: krakjoe Date: Wed, 18 Dec 2013 10:17:43 +0000 Subject: [PATCH] 50700 change --- phpdbg_bp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpdbg_bp.c b/phpdbg_bp.c index 1ae6d5fd4ad..d001c97b4d1 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 {