8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb08bce commit 48980a2Copy full SHA for 48980a2
src/Symfony/Component/HttpClient/DataCollector/HttpClientDataCollector.php
@@ -252,7 +252,7 @@ private function escapePayload(string $payload): string
252
{
253
static $useProcess;
254
255
- if ($useProcess ??= class_exists(Process::class)) {
+ if ($useProcess ??= function_exists('proc_open') && class_exists(Process::class)) {
256
return (new Process([$payload]))->getCommandLine();
257
}
258
0 commit comments