From 7ac3c2fa655d1961937f86a8d3ef2c5e96cf4f76 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 2 Jan 2019 09:56:12 +0100 Subject: [PATCH] Fix ZEND_NORMALIZE_BOOL usage Typo introduced in cdd8368d6f3f000a2e30a6be9976c5539f10fe85. --- ext/standard/array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /* }}} */ -- 2.50.1