OK, yes, but you should avoid it as much as possible. One of the main advantages of writing internal function implementations is that, contrary to what happens in PHP, C function calls are cheap. In addition, calling PHP functions inside C code is relatively painful.
, session_start php_session_start, . , , C, .
, PHP foo, PHP bar, , , ( PHP_FUNCTION) C- of bar. PHP_FUNCTION(foo) PHP_FUNCTION(bar) .
, PHP - call_user_function:
int call_user_function(HashTable *function_table, zval **object_pp,
zval *function_name, zval *retval_ptr, zend_uint param_count,
zval *params[] TSRMLS_DC);
call_user_function_ex , .
, (PHP_FUNCTION) . , EG(function_table) , NULL, , .
, . . "Zend_API.h" , zend_fcall_.
, , C.