Blocks #41552
Symfony version(s) affected: 4.4-dev
Description
Making a request with NativeHttpClient on PHP 8.1 will yield a TransportException with the following error message:
fopen(): Invalid IP Address: 0
When I switch to CurlHttpClient, the error is gone.
How to reproduce
$client = new NativeHttpClient();
$client->request('GET', 'https://www.symfony.com')->getInfo();