Description
The following code:
<?php
function testsoap()
{
try {
$client = new SoapClient('tmp.txt');
$res = $client->__getFunctions();
var_dump($res);
} catch (Exception $e) {
var_dump($e->getMessage());
}
}
testsoap();
tmp.txt:
tmp.txt
Resulted in this output:

But I expected this output instead:

Test:
When I modify the source file ext/soap/php_sdl.c and add debugging information, as shown below:

I got the result as below:

So I think there might be a problem with this line
ctype = strrchr((char*)type->children->content,':');
PHP Version
PHP 7.3.24
Operating System
Centos 6.10
Description
The following code:
tmp.txt:
tmp.txt
Resulted in this output:

But I expected this output instead:

Test:


When I modify the source file ext/soap/php_sdl.c and add debugging information, as shown below:
I got the result as below:
So I think there might be a problem with this line
ctype = strrchr((char*)type->children->content,':');
PHP Version
PHP 7.3.24
Operating System
Centos 6.10