php-json-rpc/tests/sub.php

8 lines
166 B
PHP
Raw Normal View History

2019-01-04 03:59:05 +00:00
<?php
include_once dirname(__DIR__).'/vendor/autoload.php';
$client = new \JsonRpc\Client();
$res = $client->call('math.subtract',['12','23',500]);
var_dump($res);