Rumah >pembangunan bahagian belakang >tutorial php >phpRPC远程调用,但是每个方法的参数个数不一致,不想写死,怎么搞?
<code>class aaaController extends RpcController { public function one_function($a='', $b='', $c=''){} public function two_function($d='', $e=''){} public function three_function($f=''){} } </code>
请勿重复提问:http://segmentfault.com/q/1010000004290664
这个问题已被关闭,原因:与已有问题重复
<code>class aaaController extends RpcController { public function one_function($a='', $b='', $c=''){} public function two_function($d='', $e=''){} public function three_function($f=''){} } </code>
请勿重复提问:http://segmentfault.com/q/1010000004290664