I have recently recompiled my php and suddenly old code (together with examples from the internet) stopped compiling.
This exact example does not compile.
Snippet of the problematic code:
static function_entry hello_functions[] = {
{NULL, NULL, NULL}
};
This is the error:
/home/user/php_module/test_module/hello.c:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hello_functions’
What could be the problem?