summaryrefslogtreecommitdiff
path: root/ext/soap/tests/bugs/bug31755.phpt
blob: c8153d88e6d25c72b2690c61511cf44c52f1ffe2 (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 namespace in %s on line %d