From 345f46ff29408163a91c69d304b46f923eacdc06 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Thu, 21 Oct 2021 19:31:37 +0200 Subject: [PATCH] Fix weakmap API test Apparently under some targets the address can evaluate to an address with the most significant bit set. (displays as negative number) --- ext/zend_test/tests/zend_weakmap.phpt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/zend_test/tests/zend_weakmap.phpt b/ext/zend_test/tests/zend_weakmap.phpt index 956b7484781..32a8bb9c3a0 100644 --- a/ext/zend_test/tests/zend_weakmap.phpt +++ b/ext/zend_test/tests/zend_weakmap.phpt @@ -33,13 +33,13 @@ bool(true) bool(false) bool(true) array(2) { - [%d]=> + [%s]=> int(1) - [%d]=> + [%s]=> int(2) } array(1) { - [%d]=> + [%s]=> int(2) } bool(true) @@ -48,7 +48,7 @@ array(0) { } bool(true) array(1) { - [%d]=> + [%s]=> object(stdClass)#2 (0) { } } \ No newline at end of file