xref: /PHP-8.1/ext/soap/tests/gh8538.phpt (revision 2a13304b)
1--TEST--
2Bug GH-8538 (SoapClient may strip parts of nmtokens)
3--EXTENSIONS--
4soap
5--FILE--
6<?php
7$client = new SoapClient(__DIR__ . "/gh8538.wsdl");
8var_dump($client->__getFunctions());
9?>
10--EXPECT--
11array(9) {
12  [0]=>
13  string(71) "reportHealthViewResponse reportHealthView(reportHealthView $parameters)"
14  [1]=>
15  string(59) "reportPolicyResponse reportPolicy(reportPolicy $parameters)"
16  [2]=>
17  string(56) "queryPolicyResponse queryPolicy(queryPolicy $parameters)"
18  [3]=>
19  string(59) "reportConfigResponse reportConfig(reportConfig $parameters)"
20  [4]=>
21  string(56) "reportEventResponse reportEvent(reportEvent $parameters)"
22  [5]=>
23  string(53) "reportViewResponse reportView(reportView $parameters)"
24  [6]=>
25  string(56) "queryConfigResponse queryConfig(queryConfig $parameters)"
26  [7]=>
27  string(50) "queryViewResponse queryView(queryView $parameters)"
28  [8]=>
29  string(50) "reportLogResponse reportLog(reportLog $parameters)"
30}
31