} catch (SoapFault $x) {
    print "\r\n\r\nRequest was:\r\n" . preXml($client->__getLastRequest()) . "\r\n";
    print "Exception:\r\n" . $x . "\r\n";
}
?>
 
    </pre>

    <h2>soapenc:Array ReverseArray(soapenc:Array)</h2>
    <pre class="console">
<?php 
try {
    print "ReverseArray([true, \"text\", [1, 2, 3]]) returns:\r\n";
    ?>
<span class="return"><?php 
    echo htmlspecialchars(var_export($client->ReverseArray(array(true, "text", array(1, 2, 3))), true));
    ?>
</span><?php 
    print "\r\n\r\nRequest was:\r\n" . preXml($client->__getLastRequest()) . "\r\n";
    print "\r\nResponse was:\r\n" . preXml($client->__getLastResponse()) . "\r\n";
} catch (SoapFault $x) {
    print "\r\n\r\nRequest was:\r\n" . preXml($client->__getLastRequest()) . "\r\n";
    print "Exception:\r\n" . $x . "\r\n";
}
?>
 
    </pre>

</div></body>
</html>