From: Nikita Popov Date: Wed, 2 Jan 2019 08:56:12 +0000 (+0100) Subject: Fix ZEND_NORMALIZE_BOOL usage X-Git-Tag: php-7.4.0alpha1~1309 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ac3c2fa655d1961937f86a8d3ef2c5e96cf4f76;p=php Fix ZEND_NORMALIZE_BOOL usage Typo introduced in cdd8368d6f3f000a2e30a6be9976c5539f10fe85. --- diff --git a/ext/standard/array.c b/ext/standard/array.c index 018fe028fb..33ea028602 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -170,7 +170,7 @@ static int php_array_key_compare(const void *a, const void *b) /* {{{ */ } } } - return ZEND_NORMALIZE_BOOL(l1 > l2); + return ZEND_NORMALIZE_BOOL(l1 - l2); } /* }}} */