blob: 873fc8bcbd38ef03225c8206dc1a4f4f57250611 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
}
|