From d5b6ae48f792fc0d7590137b57927ae9fe9cf495 Mon Sep 17 00:00:00 2001 From: Lars Strojny Date: Thu, 11 Dec 2008 02:38:44 +0000 Subject: [PATCH] MFB: Fixing strict warning --- run-tests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-tests.php b/run-tests.php index f8f634987b..f713f74339 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1009,7 +1009,7 @@ function system_with_timeout($commandline, $env = null, $stdin = null) $data = ''; $bin_env = array(); - foreach($env as $key => $value) { + foreach((array)$env as $key => $value) { $bin_env[(binary)$key] = (binary)$value; } -- 2.40.0