xmlrpc_decode

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Decodes XML into native PHP types mixed xmlrpc_decode ( string $xml [, string $encoding = "iso-8859-1" ] ) Parameters: xml XML response returned by XMLRPC method. encoding Input encoding supported by iconv. Returns: Returns either an array, or an integer, or a string, or a boole

xmlrpc_decode_request

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Decodes XML into native PHP types mixed xmlrpc_decode_request ( string $xml, string &$method [, string $encoding ] ) This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

Yar_Client_Exception::getType

(PECL yar >= 1.0.0) The getType purpose public void Yar_Client_Exception::getType ( void ) Returns: This function is currently not documented; only its argument list is available. Examples: Yar_Client_Exception::getType() example <?php /* ... */ ?> The above example w

Yar_Server_Exception::getType

(PECL yar >= 1.0.0) The getType purpose public string Yar_Server_Exception::getType ( void ) Get the exception original type threw by server Returns: string Examples: Yar_Server_Exception::getType() example //Server.php <?php class Custom_Exception extends Exception {}; class API {     public function throw_excepti

Yar_Concurrent_Client::reset

(No version information available, might only be in Git) Clean all registered calls public static boolean Yar_Concurrent_Client::reset ( void ) Clean all registered calls Returns: Examples: Yar_Concurrent_Client::reset() example The above example will output something similar to: See

Yar_Concurrent_Client::loop

(PECL yar >= 1.0.0) Send all calls public static boolean Yar_Concurrent_Client::loop ([ callable $callback [, callable $error_callback ]] ) Send all registed remote RPC calls. Parameters: callback If this callback is set, then Yar will call this callback after all calls are sent and before any response return, with a $callinfo NULL. Then, if user didn't specify callb

Yar_Concurrent_Client::call

(PECL yar >= 1.0.0) Register a concurrent call public static int Yar_Concurrent_Client::call ( string $uri, string $method, array $parameters [, callable $callback ] ) Register a RPC call, but won't sent it immediately, it will be send while further call to Yar_Concurrent_Client::loop() Parameters: uri The RPC server URI(http, tcp) method

Yar_Client::setOpt

(PECL yar >= 1.0.0) Set calling contexts public boolean Yar_Client::setOpt ( number $name, mixed $value ) Parameters: name it can be: YAR_OPT_PACKAGER, YAR_OPT_PERSISTENT (Need server support), YAR_OPT_TIMEOUT, YAR_OPT_CONNECT_TIMEOUT value it can be: YAR_OPT_PACKAGER, YAR_OPT_PERSISTENT (Need server support), YAR_OPT_TIMEOUT, YAR_OPT_

Yar_Client::__construct

(PECL yar >= 1.0.0) Create a client final public Yar_Client::__construct ( string $url ) Create a Yar_Client to a Yar_Server. Parameters: url Yar Server URL. Returns: Yar_Client instance. Examples: Yar_Client::__construct() example <?php $client = new Yar_Client("h

Yar_Client::__call

(PECL yar >= 1.0.0) Call service public void Yar_Client::__call ( string $method, array $parameters ) Issue a call to remote RPC method. Parameters: method Remote RPC method name. parameters Parameters. Returns: Examples: Yar_Client::__call() exam