Hello Everyone
i just came across an error when trying to set custom http headers.
$get->setHttpHeader("x-api-key", "123456");
Which throws an error:
Cannot access private property SoapClient::$_stream_context
Caused by the line 343 in AbstractSoapClientBase:
$state = ($this->getSoapClient()->_stream_context = stream_context_create($options)) ? true : false;
I'm using PHP 8.1