summaryrefslogtreecommitdiffstats
path: root/e41d11bb55aa16da57e152fecfce30a50b454c0d.patch
diff options
context:
space:
mode:
Diffstat (limited to 'e41d11bb55aa16da57e152fecfce30a50b454c0d.patch')
-rw-r--r--e41d11bb55aa16da57e152fecfce30a50b454c0d.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/e41d11bb55aa16da57e152fecfce30a50b454c0d.patch b/e41d11bb55aa16da57e152fecfce30a50b454c0d.patch
new file mode 100644
index 0000000..873fc8b
--- /dev/null
+++ b/e41d11bb55aa16da57e152fecfce30a50b454c0d.patch
@@ -0,0 +1,22 @@
+From e41d11bb55aa16da57e152fecfce30a50b454c0d Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Thu, 29 Jun 2017 08:23:04 +0200
+Subject: [PATCH] silent the each operator (for 7.2)
+
+---
+ tests/bug63123.phpt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/bug63123.phpt b/tests/bug63123.phpt
+index 705a954..ca44e28 100644
+--- a/tests/bug63123.phpt
++++ b/tests/bug63123.phpt
+@@ -10,7 +10,7 @@ taint.enable=1
+ $str = 'a,' . 'b';
+ taint($str);
+ $a = explode(',', $str);
+-while (list($key, $val) = each($a)) {
++while (list($key, $val) = @each($a)) {
+ echo $val;
+ }
+