We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a0e68b commit f3e8675Copy full SHA for f3e8675
Zend/zend_operators.c
@@ -1759,14 +1759,15 @@ static inline void zend_free_obj_get_result(zval *op) /* {{{ */
1759
}
1760
/* }}} */
1761
1762
-static void ZEND_FASTCALL convert_compare_result_to_long(zval *result)
+static void ZEND_FASTCALL convert_compare_result_to_long(zval *result) /* {{{ */
1763
{
1764
if (Z_TYPE_P(result) == IS_DOUBLE) {
1765
ZVAL_LONG(result, ZEND_NORMALIZE_BOOL(Z_DVAL_P(result)));
1766
} else {
1767
convert_to_long(result);
1768
1769
1770
+/* }}} */
1771
1772
ZEND_API int ZEND_FASTCALL compare_function(zval *result, zval *op1, zval *op2) /* {{{ */
1773
0 commit comments