$json = json_decode($result, true);
print_r($json);
function fname(string $str, \SoapClient $client) {
//...
}
function fname(string $str, \SoapClient $client) : int
{
//...
return 0;
}
/**
* @param $str string|null
* @param $client \SoapClien
**/
function fname(?string $str, \SoapClient $client) {
//...
}