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:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user