diff options
Diffstat (limited to 'ext/standard/array.c')
| -rw-r--r-- | ext/standard/array.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/array.c b/ext/standard/array.c index 7079c64538..81ecfd74f1 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -2684,7 +2684,7 @@ zend_bool array_column_param_helper(zval *param, const char *name TSRMLS_DC) { switch (Z_TYPE_P(param)) { case IS_DOUBLE: - convert_to_int_ex(param); + convert_to_long_ex(param); /* fallthrough */ case IS_LONG: return 1; @@ -3035,7 +3035,7 @@ static int zval_compare(zval *a, zval *b TSRMLS_DC) /* {{{ */ return ZEND_NORMALIZE_BOOL(Z_DVAL(result)); } - convert_to_int(&result); + convert_to_long(&result); return ZEND_NORMALIZE_BOOL(Z_LVAL(result)); } /* }}} */ |
