Remote Procedure Call (RPC)¶
RPC is an acronym for Remote Procedure Call. This happens when the program delegate the execution of a piece of code to a separate server.
PHP offers xml-rpc, grpc, protocolbuffers and yar offers different standard way to do RPC.
<?php
$params = array ( "one"=>"red","two"=>"blue","three"=>"green" );
$response = xmlrpc_encode ( $params );
echo ( $response );
?>
Related packages : grpc/grpc