Skip to content

Commit

Permalink
Relax test for 8.4 "refcount" vs "packed refcount"
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Oct 1, 2024
1 parent 58445d2 commit fc5e958
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions tests/serialize/backref.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ array(1) {
*RECURSION*
}
[[R::r::1],["a",r::4,o::{},r::5,[1,2,3],r::6],r::3,r::4,r::5,r::6]
array(6) refcount(2){
array(6) %srefcount(2){
[0]=>
array(1) refcount(2){
array(1) %srefcount(2){
[0]=>
reference refcount(1) {
*RECURSION*
}
}
[1]=>
array(6) refcount(2){
array(6) %srefcount(2){
[0]=>
string(1) "a" refcount(3)
[1]=>
Expand All @@ -51,7 +51,7 @@ array(6) refcount(2){
object(stdClass)#%d (0) refcount(3){
}
[4]=>
array(3) refcount(3){
array(3) %srefcount(3){
[0]=>
int(1)
[1]=>
Expand All @@ -60,7 +60,7 @@ array(6) refcount(2){
int(3)
}
[5]=>
array(3) refcount(3){
array(3) %srefcount(3){
[0]=>
int(1)
[1]=>
Expand All @@ -70,7 +70,7 @@ array(6) refcount(2){
}
}
[2]=>
array(6) refcount(2){
array(6) %srefcount(2){
[0]=>
string(1) "a" refcount(3)
[1]=>
Expand All @@ -82,7 +82,7 @@ array(6) refcount(2){
object(stdClass)#%d (0) refcount(3){
}
[4]=>
array(3) refcount(3){
array(3) %srefcount(3){
[0]=>
int(1)
[1]=>
Expand All @@ -91,7 +91,7 @@ array(6) refcount(2){
int(3)
}
[5]=>
array(3) refcount(3){
array(3) %srefcount(3){
[0]=>
int(1)
[1]=>
Expand All @@ -106,7 +106,7 @@ array(6) refcount(2){
object(stdClass)#%d (0) refcount(3){
}
[5]=>
array(3) refcount(3){
array(3) %srefcount(3){
[0]=>
int(1)
[1]=>
Expand Down
2 changes: 1 addition & 1 deletion tests/serialize/serializable.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Deprecated: recursive implements the Serializable interface, which is deprecated
Deprecated: except implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in %sserialize/serializable.php on line %d

[S::test::{{"foobar"}},r::1]
array(2) refcount(2){
array(2) %srefcount(2){
[0]=>
object(test)#%d (1) refcount(2){
["data":protected]=>
Expand Down

0 comments on commit fc5e958

Please sign in to comment.