diff options
author | Thies C. Arntzen <thies@php.net> | 1999-10-19 15:48:25 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 1999-10-19 15:48:25 +0000 |
commit | 816627b16c5f7e36ea5de45e9f185b9572bdcd8b (patch) | |
tree | 6f3bad318ca164718e49a686ae0ac90a167b4340 | |
parent | ee6c1ea7433c12e131acccfe178644a518fb2f3f (diff) | |
download | php-git-816627b16c5f7e36ea5de45e9f185b9572bdcd8b.tar.gz |
fixed is_identicat_function()
-rw-r--r-- | Zend/zend_operators.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index 46055dda52..4368028bb4 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -925,11 +925,11 @@ ZEND_API int is_identical_function(zval *result, zval *op1, zval *op2) case IS_BOOL: case IS_LONG: case IS_RESOURCE: - result->type = (op1->value.lval == op2->value.lval); + result->value.lval = (op1->value.lval == op2->value.lval); return SUCCESS; break; case IS_DOUBLE: - result->type = (op1->value.dval == op2->value.dval); + result->value.lval = (op1->value.dval == op2->value.dval); return SUCCESS; break; case IS_STRING: |