Skip to content

Commit 2a7d4ed

Browse files
Merge branch '5.3' into 5.4
* 5.3: [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 956acb3 + e445dab commit 2a7d4ed

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
@@ -1663,6 +1663,7 @@ private function getDefaultEnv(): array
16631663
{
16641664
$env = getenv();
16651665
$env = array_intersect_key($env, $_SERVER) ?: $env;
1666+
unset($env['argc'], $env['argv']);
16661667

16671668
foreach ($_ENV as $k => $v) {
16681669
if (\is_string($v)) {

0 commit comments

Comments
 (0)