Here is my code:
zval compact, compact_params[1], compact_result;
zval A;
ZVAL_STRING(&A, "test");
ZVAL_STRING(&compact, "compact");
ZVAL_STRING(&compact_params[0], "A");
call_user_function(EG(function_table), NULL, &compact, &compact_result, 1, compact_params);
when I call it from php it says:
Cannot call compact() dynamically
I dont have any idea now how to call the compact() from c++. I already called different function successfully but this compact is different.