It crashes here:
It only shows 'scriptengine> test b3' and not the other 2 messages. (commenting the printf ...ERROR: closer().. out doesn't show the 'test b4' message.)PHP Code:
printf("scriptengine> test b3\n");
if (!stackGetParamInt(0, &function))
{
printf("scriptengine> ERROR: closer(): param \"function\"[0] has to be an integer!\n");
return 0;
}
printf("scriptengine> test b4\n");