Home >Backend Development >PHP Tutorial >php-SAP RFC编译不下去了...

php-SAP RFC编译不下去了...

WBOY
WBOYOriginal
2016-06-02 11:31:231307browse

phpsap

PHP源码版本5.2.8的可以编译通过,使用PHP版本5.4.16的就不行了:

1>正在编译...
1>saprfc.c
1>.\saprfc.c(47) : error C2061: 语法错误 : 标识符“saprfc_functions”
1>.\saprfc.c(47) : error C2059: 语法错误 : “;”
1>.\saprfc.c(47) : error C3409: 不允许空属性块
1>.\saprfc.c(47) : error C2513: “/*global*/ ”: 在“=”前没有声明变量

saprfc.c:

/* Every user visible function must have an entry in saprfc_functions[].
*/
function_entry saprfc_functions[] = {
PHP_FE(saprfc_open, NULL)
PHP_FE(saprfc_function_discover, NULL)

有解决方法不?不想降低PHP版本。

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