Skip to content

Commit e445dab

Browse files
Merge branch '4.4' into 5.3
* 4.4: [Process] exclude argv/argc from possible default env vars [HttpClient] fix closing curl multi handle when destructing client [Validator] Add missing Czech translations
2 parents 6c99204 + b18a29b commit e445dab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Process.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1661,6 +1661,7 @@ private function getDefaultEnv(): array
16611661
{
16621662
$env = getenv();
16631663
$env = array_intersect_key($env, $_SERVER) ?: $env;
1664+
unset($env['argc'], $env['argv']);
16641665

16651666
foreach ($_ENV as $k => $v) {
16661667
if (\is_string($v)) {

0 commit comments

Comments
 (0)