1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 19:23:22 +02:00

Fixing strict warning when null is passed

This commit is contained in:
Lars Strojny
2008-12-11 02:37:36 +00:00
parent 2ea6780873
commit 1f4fd81a27
+1 -1
View File
@@ -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;
}