From 7666a8c8f1b73a76e2031a4e8510b7179f5f4887 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 10 Apr 2020 14:40:24 +0200 Subject: add upstream patch for 8.0 --- 12845d5957b8af7c356e31f0d1be3d72986aab26.patch | 56 ++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 12845d5957b8af7c356e31f0d1be3d72986aab26.patch (limited to '12845d5957b8af7c356e31f0d1be3d72986aab26.patch') diff --git a/12845d5957b8af7c356e31f0d1be3d72986aab26.patch b/12845d5957b8af7c356e31f0d1be3d72986aab26.patch new file mode 100644 index 0000000..a01267d --- /dev/null +++ b/12845d5957b8af7c356e31f0d1be3d72986aab26.patch @@ -0,0 +1,56 @@ +From 12845d5957b8af7c356e31f0d1be3d72986aab26 Mon Sep 17 00:00:00 2001 +From: Nikita Popov +Date: Sat, 15 Feb 2020 11:09:22 +0100 +Subject: [PATCH] Fork test for PHP 8 + +--- + tests/apc_store_reference.phpt | 2 ++ + tests/apc_store_reference_php8.phpt | 26 ++++++++++++++++++++++++++ + 2 files changed, 28 insertions(+) + create mode 100644 tests/apc_store_reference_php8.phpt + +diff --git a/tests/apc_store_reference.phpt b/tests/apc_store_reference.phpt +index 2228899..d2cb991 100644 +--- a/tests/apc_store_reference.phpt ++++ b/tests/apc_store_reference.phpt +@@ -4,6 +4,8 @@ The outermost value should always be a value, not a reference + apc.enabled=1 + apc.enable_cli=1 + apc.serializer=default ++--SKIPIF-- ++= 80000) die('skip Requires PHP < 8.0.0'); ?> + --FILE-- + = 8.0.0'); ?> ++--FILE-- ++ &$value]); ++$result = apcu_fetch("key"); ++var_dump($result); ++ ++?> ++--EXPECT-- ++array(1) { ++ [0]=> ++ *RECURSION* ++} -- cgit