summaryrefslogtreecommitdiffstats
path: root/0031-fix-opcache-reference-php550beta3.patch
diff options
context:
space:
mode:
Diffstat (limited to '0031-fix-opcache-reference-php550beta3.patch')
-rw-r--r--0031-fix-opcache-reference-php550beta3.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/0031-fix-opcache-reference-php550beta3.patch b/0031-fix-opcache-reference-php550beta3.patch
new file mode 100644
index 0000000..e6f14c2
--- /dev/null
+++ b/0031-fix-opcache-reference-php550beta3.patch
@@ -0,0 +1,29 @@
+From b84b0440e26be71b2f9bd6ab547859add813a236 Mon Sep 17 00:00:00 2001
+From: Remi Collet <fedora@famillecollet.com>
+Date: Fri, 12 Apr 2013 08:57:25 +0200
+Subject: [PATCH] add opcache_invalidate (7.0.2-dev, or PHP 5.5.0beta3)
+
+---
+ PHP/CompatInfo/Reference/zendopcache.php | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/PHP/CompatInfo/Reference/zendopcache.php b/PHP/CompatInfo/Reference/zendopcache.php
+index c488024..a326bdf 100644
+--- a/PHP/CompatInfo/Reference/zendopcache.php
++++ b/PHP/CompatInfo/Reference/zendopcache.php
+@@ -85,6 +85,12 @@ public function getFunctions($extension = null, $version = null, $condition = nu
+ );
+ $this->applyFilter($release, $items, $functions);
+
++ $release = '7.0.2'; // not yet
++ $items = array(
++ 'opcache_invalidate' => array('5.2.0', ''),
++ );
++ $this->applyFilter($release, $items, $functions);
++
+ return $functions;
+ }
+ }
+--
+1.8.1.5
+