summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorLars Strojny <lstrojny@php.net>2008-12-11 02:37:36 (GMT)
committerLars Strojny <lstrojny@php.net>2008-12-11 02:37:36 (GMT)
commit1f4fd81a275ea7295499bb086d48fb182d0feeda (patch)
tree0e6a712abcea0618c9e3cda748100c66b5ecbd75 /run-tests.php
parent2ea67808735fcfbda252f309880c4e659220087d (diff)
downloadphp-1f4fd81a275ea7295499bb086d48fb182d0feeda.tar.gz
Fixing strict warning when null is passed
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index f8f6349..f713f74 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;
}