summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.c
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2017-07-22 21:33:28 -0400
committerSara Golemon <pollita@php.net>2017-07-22 21:33:28 -0400
commit089f4ff885297d945a908d6b9d242d8772685903 (patch)
treed1dba9d4dcf048d15d0881dae9f82f25ee4d5ac6 /Zend/zend_operators.c
parente23c132940a2463c0f7034a5443b58fe9e6c96cd (diff)
parenta4e3589966528c618a200f9b2e6cde1b718c6d02 (diff)
downloadphp-git-089f4ff885297d945a908d6b9d242d8772685903.tar.gz
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Use compatability zend_isnan() instead of POSIX isnan()
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r--Zend/zend_operators.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c
index 3574ea7065..a19990e605 100644
--- a/Zend/zend_operators.c
+++ b/Zend/zend_operators.c
@@ -2174,12 +2174,12 @@ ZEND_API int ZEND_FASTCALL is_not_equal_function(zval *result, zval *op1, zval *
ZEND_API int ZEND_FASTCALL is_smaller_function(zval *result, zval *op1, zval *op2) /* {{{ */
{
- if (UNEXPECTED((Z_TYPE_P(op1) == IS_DOUBLE) && isnan(Z_DVAL_P(op1)))) {
+ if (UNEXPECTED((Z_TYPE_P(op1) == IS_DOUBLE) && zend_isnan(Z_DVAL_P(op1)))) {
ZVAL_FALSE(result);
return SUCCESS;
}
- if (UNEXPECTED((Z_TYPE_P(op2) == IS_DOUBLE) && isnan(Z_DVAL_P(op2)))) {
+ if (UNEXPECTED((Z_TYPE_P(op2) == IS_DOUBLE) && zend_isnan(Z_DVAL_P(op2)))) {
ZVAL_FALSE(result);
return SUCCESS;
}