php soap_client处理长回报

Hy I have a problem, i receve a sid over a soap call. The problem is this is a xsp:long(64bit) php can't handle this and casts it to a double. I tried to convert this to a gmp value but this fails after all?!

Can some one tell me on how i get this to work?

$sccsystem = new SoapClient($baseurl."/Services1.0/services/sccsystem?wsdl");
$sccrequirements = new SoapClient($baseurl."/Services1.0/services/tmrequirementsmanagement?wsdl");

//login:
try {
    $sessionid = $sccsystem->logonUser("user", "pw"); // tryed to use gmp_init but no success)
} catch(Exception $e) {
    echo "ACCESS DENIED!
".$e."
";
    exit(1);
}

echo "ACCESS GARANTED! [".$sessionid."]
";

echo "tryReadingProjectList:
";
var_dump($sccrequirements->getProjects($sessionid));

I also installed a 64bit version from: http://windows.php.net/downloads/releases/php-5.6.3-nts-Win32-VC11-x64.zip with no luck :(
Here is the overview of the download page:http://windows.php.net/download/

php
dongxiao3694
dongxiao3694 最后我得到它的工作我现在构建整个PHP和插件dll现在它的工作原理,但不要问我上面的二进制文件有什么区别:S
5 年多之前 回复
dongliulu1122
dongliulu1122 Hy谢谢你的回复可能是问题所在。我下载了libxml2-2.9.2-win32_64.7z版本。如果我将我的硬盘搜索到libxml,我应该放在哪里我得不到匹配:S
5 年多之前 回复
dongliaoqiang8524
dongliaoqiang8524 嗯......如果你的操作系统是64位,而PHP是64位,而你仍然有问题,也许你还有32位的libxml?(xmlsoft.org/sources/win32/64bit)
5 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问