From: Lars Strojny Date: Thu, 11 Dec 2008 02:38:10 +0000 (+0000) Subject: MFB: Fixing strict warning X-Git-Tag: php-5.4.0alpha1~191^2~4834 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=229297cc9a29d8f8f7764a6259c30bdef3db8158;p=php MFB: Fixing strict warning --- 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; }