diff options
Diffstat (limited to 'ion-php84.patch')
-rw-r--r-- | ion-php84.patch | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/ion-php84.patch b/ion-php84.patch new file mode 100644 index 0000000..fef1c36 --- /dev/null +++ b/ion-php84.patch @@ -0,0 +1,101 @@ +From fc5e95874bc8c56c398399b85f17663919c8e904 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Tue, 1 Oct 2024 09:18:00 +0200 +Subject: [PATCH] Relax test for 8.4 "refcount" vs "packed refcount" + +--- + tests/serialize/backref.phpt | 18 +++++++++--------- + tests/serialize/serializable.phpt | 2 +- + 2 files changed, 10 insertions(+), 10 deletions(-) + +diff --git a/tests/serialize/backref.phpt b/tests/serialize/backref.phpt +index 4538ab5..44ce077 100644 +--- a/tests/serialize/backref.phpt ++++ b/tests/serialize/backref.phpt +@@ -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]=> +@@ -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]=> +@@ -60,7 +60,7 @@ array(6) refcount(2){ + int(3) + } + [5]=> +- array(3) refcount(3){ ++ array(3) %srefcount(3){ + [0]=> + int(1) + [1]=> +@@ -70,7 +70,7 @@ array(6) refcount(2){ + } + } + [2]=> +- array(6) refcount(2){ ++ array(6) %srefcount(2){ + [0]=> + string(1) "a" refcount(3) + [1]=> +@@ -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]=> +@@ -91,7 +91,7 @@ array(6) refcount(2){ + int(3) + } + [5]=> +- array(3) refcount(3){ ++ array(3) %srefcount(3){ + [0]=> + int(1) + [1]=> +@@ -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]=> +diff --git a/tests/serialize/serializable.phpt b/tests/serialize/serializable.phpt +index 5f66227..aa93347 100644 +--- a/tests/serialize/serializable.phpt ++++ b/tests/serialize/serializable.phpt +@@ -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]=> |