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