From 5895af69eaea93202035655927fb65e5468d2550 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 4 Feb 2021 09:56:16 +0100 Subject: [PATCH] Fix test for PHP 8.1 --- tests/apc_006_php73.phpt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/apc_006_php73.phpt b/tests/apc_006_php73.phpt index a54d724c..42bdfde1 100644 --- a/tests/apc_006_php73.phpt +++ b/tests/apc_006_php73.phpt @@ -34,34 +34,34 @@ debug_zval_dump($x); ?> ===DONE=== ---EXPECT-- +--EXPECTF-- array(9) refcount(2){ [0]=> - string(1) "a" refcount(1) + string(1) "a" %s [1]=> &array(1) refcount(1){ [0]=> - string(1) "c" refcount(1) + string(1) "c" %s } [2]=> &array(1) refcount(1){ [0]=> - string(1) "c" refcount(1) + string(1) "c" %s } [3]=> - &string(1) "d" refcount(1) + &string(1) "d" %s [4]=> - &string(1) "d" refcount(1) + &string(1) "d" %s [5]=> - &string(1) "d" refcount(1) + &string(1) "d" %s [6]=> - string(1) "e" refcount(1) + string(1) "e" %s [7]=> - string(1) "e" refcount(1) + string(1) "e" %s [8]=> &array(2) refcount(1){ [0]=> - string(1) "f" refcount(1) + string(1) "f" %s [1]=> *RECURSION* }