Skip to content

Commit

Permalink
Fix weakmap API test
Browse files Browse the repository at this point in the history
Apparently under some targets the address can evaluate to an address with the most significant bit set. (displays as negative number)
  • Loading branch information
bwoebi committed Oct 21, 2021
1 parent a6f5c2d commit 345f46f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ext/zend_test/tests/zend_weakmap.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -48,7 +48,7 @@ array(0) {
}
bool(true)
array(1) {
[%d]=>
[%s]=>
object(stdClass)#2 (0) {
}
}

0 comments on commit 345f46f

Please sign in to comment.