summaryrefslogtreecommitdiff
path: root/ext/soap/tests/bugs/bug31755.phpt
blob: e93e17daa67c193c7e6697dc2b14521ff95ca77f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
Bug #31422 No Error-Logging on SoapServer-Side
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
$client=new SOAPClient(null, array('location' => 'http://localhost',
'uri' => 'myNS', 'exceptions' => false, 'trace' => true));

$header = new SOAPHeader(null, 'foo', 'bar');

$response= $client->__call('function', array(), null, $header);

print $client->__getLastRequest();
?>
--EXPECTF--
Fatal error: SoapHeader::__construct(): Invalid parameters. Invalid namespace. in %sbug31755.php on line %d