Home  >  Article  >  php教程  >  PHP与WCF第一次亲密接触

PHP与WCF第一次亲密接触

WBOY
WBOYOriginal
2016-06-13 11:32:13965browse

的分号去掉,然后重启即可

x = 2; $obj->y = 3; $result= $client->Add ( $obj );//wcf 中add方法需要两int,你懂滴 echo $result->AddResult;//现在还没明白为啥结果集 $cc->AddResult $strParam->str="tianbang"; $str = $client->GetStr ( $strParam); echo $str->GetStrResult;//这里测试返回一个string,因为我想json,你懂滴 ?>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn