Skip to content

Commit b02749b

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: [HttpClient] Don't ignore errors from curl_multi_exec() [HttpClient] Double check if handle is complete CI for macOS [DependencyInjection] Resolve ChildDefinition in AbstractRecursivePass [Translation] [Bridge] [Lokalise] Fix push keys to lokalise. Closes #… [PropertyAccess] Fix accessing public property in Object [Process] fixed uppercase ARGC and ARGV should also be skipped [PropertyAccess] Add tests accessing public (dynamic) properties [Mailer] Update docs for sendmail -t [FrameworkBundle] Fix cache pool configuration with one adapter and one provider [FrameworkBundle] Use correct cookie domain in loginUser() Missing translations for Belarusian (be) #41032
2 parents d970c45 + bf0e245 commit b02749b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Process.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ public function start(callable $callback = null, array $env = [])
335335

336336
$envPairs = [];
337337
foreach ($env as $k => $v) {
338-
if (false !== $v && 'argc' !== $k && 'argv' !== $k) {
338+
if (false !== $v && false === \in_array($k, ['argc', 'argv', 'ARGC', 'ARGV'], true)) {
339339
$envPairs[] = $k.'='.$v;
340340
}
341341
}

0 commit comments

Comments
 (0)