X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debugger%2Faction.php;h=0d0a649eda2849dfed7bb893da0eca3bd076d032;hb=a48c09b3cc49bc7f603cd5b06de74ee2d2878ca4;hp=2e12886187b907210b805b66ee1366d83f39ecda;hpb=c325fab48f8f3eabc35123efdf5916b77cc878e2;p=plcapi.git diff --git a/debugger/action.php b/debugger/action.php index 2e12886..0d0a649 100644 --- a/debugger/action.php +++ b/debugger/action.php @@ -284,11 +284,10 @@ if ($action) { $v = $response->value(); if ($v->kindOf() == "array") { - $max = $v->arraysize(); + $max = $v->count(); echo "
Method ($max) | Description | |
---|---|---|
Signature | Unknown | |
Signature " . ($i + 1) . " | ";
- $x = $r2->arraymem($i);
if ($x->kindOf() == "array") {
- $ret = $x->arraymem(0);
+ $ret = $x[0];
echo "OUT: " . htmlspecialchars($ret->scalarval(), ENT_COMPAT, \PhpXmlRpc\PhpXmlRpc::$xmlrpc_internalencoding) . " |