]> granicus.if.org Git - php/commitdiff
50700 change
authorkrakjoe <joe.watkins@live.co.uk>
Wed, 18 Dec 2013 10:17:43 +0000 (10:17 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Wed, 18 Dec 2013 10:17:43 +0000 (10:17 +0000)
phpdbg_bp.c

index 1ae6d5fd4adbd558324df1ac2eee3135470b8060..d001c97b4d1039c6e6d85042cf05d32b7e753f74 100644 (file)
@@ -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 {