diff options
| author | Zeev Suraski <zeev@php.net> | 2001-07-11 09:33:41 +0000 | 
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2001-07-11 09:33:41 +0000 | 
| commit | ed542331b749826baa17d5bd23265b465b6a9494 (patch) | |
| tree | 6a6a4f6dd192942880d2a77385ca4d4bf3d3c7e0 /Zend/zend_operators.c | |
| parent | ff4dfc56f287d9bd9ec2e9c11be8dd4b920961dd (diff) | |
| download | php-git-ed542331b749826baa17d5bd23265b465b6a9494.tar.gz | |
Get rid of some inlines
Diffstat (limited to 'Zend/zend_operators.c')
| -rw-r--r-- | Zend/zend_operators.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index de0ca96368..44f98938e1 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -462,7 +462,7 @@ ZEND_API void _convert_to_string(zval *op ZEND_FILE_LINE_DC)  			break;  		default:  			zval_dtor(op); -			var_reset(op); +			ZVAL_RESET(op);  			break;  	}  	op->type = IS_STRING; @@ -719,7 +719,7 @@ ZEND_API int div_function(zval *result, zval *op1, zval *op2)  	if ((op2->type == IS_LONG && op2->value.lval == 0) || (op2->type == IS_DOUBLE && op2->value.dval == 0.0)) {  		zend_error(E_WARNING, "Division by zero"); -		var_reset(result); +		ZVAL_RESET(result);  		return FAILURE;			/* division by zero */  	}  	if (op1->type == IS_LONG && op2->type == IS_LONG) { @@ -758,7 +758,7 @@ ZEND_API int mod_function(zval *result, zval *op1, zval *op2)  	zendi_convert_to_long(op2, op2_copy, result);  	if (op2->value.lval == 0) { -		var_reset(result); +		ZVAL_RESET(result);  		return FAILURE;			/* modulus by zero */  	} @@ -1164,7 +1164,7 @@ ZEND_API int compare_function(zval *result, zval *op1, zval *op2)  		return SUCCESS;  	} -	var_reset(result); +	ZVAL_RESET(result);  	return FAILURE;  } @@ -1231,7 +1231,7 @@ ZEND_API int is_identical_function(zval *result, zval *op1, zval *op2)  			}  			break;  		default: -			var_reset(result); +			ZVAL_RESET(result);  			return FAILURE;  	}  	return SUCCESS; | 
