mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
MFB: Fixing strict warning
This commit is contained in:
parent
f9c92ffcb8
commit
229297cc9a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user