Skip to content

Commit 345f46f

Browse files
committed
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)
1 parent a6f5c2d commit 345f46f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ext/zend_test/tests/zend_weakmap.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ bool(true)
3333
bool(false)
3434
bool(true)
3535
array(2) {
36-
[%d]=>
36+
[%s]=>
3737
int(1)
38-
[%d]=>
38+
[%s]=>
3939
int(2)
4040
}
4141
array(1) {
42-
[%d]=>
42+
[%s]=>
4343
int(2)
4444
}
4545
bool(true)
@@ -48,7 +48,7 @@ array(0) {
4848
}
4949
bool(true)
5050
array(1) {
51-
[%d]=>
51+
[%s]=>
5252
object(stdClass)#2 (0) {
5353
}
5454
}

0 commit comments

Comments
 (0)