From: krakjoe Date: Wed, 18 Dec 2013 10:17:43 +0000 (+0000) Subject: 50700 change X-Git-Tag: php-5.6.0alpha1~110^2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ac3a4ab412f3541fa506c79afe3dd04985f1419;p=php 50700 change --- 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 {