You can see the source to this page here: introspect.php
faultCode() . " Reason: '" . $r->faultString() . "'${txt}
\n"; } else { print "No documentation available.
\n"; } } if ($rs[1]->faultCode()) { display_error($rs[1]); } else { print "\n";
// note: using PhpXmlRpc\Encoder::decode() here would lead to cleaner code
$val = $rs[1]->value();
if ($val->kindOf() == "array") {
foreach ($val as $x) {
$ret = $x[0];
print "" . htmlspecialchars($ret->scalarval()) . " "
. htmlspecialchars($methodName->scalarval()) . "(";
if ($x->count() > 1) {
for ($k = 1; $k < $x->count(); $k++) {
$y = $x[$k];
print htmlspecialchars($y->scalarval());
if ($k < $x->count() - 1) {
print ", ";
}
}
}
print ")
\n";
}
} else {
print "Signature unknown\n";
}
print "