From b902a25cc319e0e824104245e382376a48256803 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 20 Nov 2013 10:09:11 +0100 Subject: permanently deactivate that place, not on runtime only besides the two "if" checks, this fixes static analyze which is sometimes broken because of this --- Zend/zend_operators.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Zend/zend_operators.h b/Zend/zend_operators.h index 047b92e3ba..700b578e7f 100644 --- a/Zend/zend_operators.h +++ b/Zend/zend_operators.h @@ -736,6 +736,7 @@ static zend_always_inline int fast_mul_function(zval *result, zval *op1, zval *o static zend_always_inline int fast_div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) { +#if 0 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && 0) { if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { if (UNEXPECTED(Z_LVAL_P(op2) == 0)) { @@ -790,6 +791,7 @@ static zend_always_inline int fast_div_function(zval *result, zval *op1, zval *o return SUCCESS; } } +#endif return div_function(result, op1, op2 TSRMLS_CC); } -- cgit v1.2.1