mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
fixed is_identicat_function()
This commit is contained in:
parent
ee6c1ea743
commit
816627b16c
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue