PHP source code version 5.2.8 can be compiled, and PHP version 5.4.16 won't work: 1 & gt; compiling... 1 & gt; saprfc. c1 & gt ;. saprfc. c (47): errorC2061: Syntax error: identifier "saprfc_functions" 1 & gt ;. saprfc. c (47): errorC2059: Syntax error: ";" 1 & gt ;. saprfc. c (47): errorC3409: do not allow null attribute Block 1 & gt ;. saprfc. c (47): errorC2513: phpsap
PHP source code version 5.2.8 can be compiled, and PHP version 5.4.16 won't work:
1> compiling...
1> saprfc. c
1>. \ saprfc. c (47): error C2061: Syntax error: identifier "saprfc_functions"
1>. \ saprfc. c (47): error C2059: Syntax error: ";"
1>. \ saprfc. c (47): error C3409: empty attribute blocks are not allowed.
1>. \ saprfc. c (47): error C2513: "/* global */": no variable is declared before "="
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)
Is there a solution? You do not want to downgrade the PHP version.