diff options
author | krakjoe <joe.watkins@live.co.uk> | 2013-12-18 10:17:43 +0000 |
---|---|---|
committer | krakjoe <joe.watkins@live.co.uk> | 2013-12-18 10:17:43 +0000 |
commit | 6ac3a4ab412f3541fa506c79afe3dd04985f1419 (patch) | |
tree | 4d8e871bc0150210a08b35ad12b1892aa341b003 | |
parent | 8b0e1c6191453b8a4abb39f5bfb89843a341182c (diff) | |
download | php-git-6ac3a4ab412f3541fa506c79afe3dd04985f1419.tar.gz |
50700 change
-rw-r--r-- | phpdbg_bp.c | 4 |
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 { |