--TEST-- Bug #31422 (No Error-Logging on SoapServer-Side) --SKIPIF-- --FILE-- 'http://localhost', 'uri' => 'myNS', 'exceptions' => false, 'trace' => true)); try { new SOAPHeader('', 'foo', 'bar'); } catch (ValueError $exception) { echo $exception->getMessage() . "\n"; } $header = new SOAPHeader('namespace', 'foo', 'bar'); $response= $client->__soapCall('function', array(), null, $header); print $client->__getLastRequest(); ?> --EXPECT-- SoapHeader::__construct(): Argument #1 ($namespace) cannot be empty bar