diff options
-rw-r--r-- | Zend/zend_operators.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index 1de3364d21..5fdd1c1eb6 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -1450,9 +1450,6 @@ static void increment_string(zval *str) ZEND_API int increment_function(zval *op1) { switch (op1->type) { - case IS_BOOL: - op1->value.lval = !op1->value.lval; - break; case IS_LONG: if(op1->value.lval == LONG_MAX) { /* switch to double */ @@ -1515,9 +1512,6 @@ ZEND_API int decrement_function(zval *op1) double dval; switch (op1->type) { - case IS_BOOL: - op1->value.lval = !op1->value.lval; - break; case IS_LONG: if(op1->value.lval == LONG_MIN) { double d = (double)op1->value.lval; |