macro_rules! call_user_func {
    ($fn: expr) => { ... };
    ($fn: expr, $($param: expr),*) => { ... };
}
Expand description

Attempts to call a given PHP callable.

§Parameters

  • $fn - The ‘function’ to call. Can be an Arg or a Zval.
  • $param - The parameters to pass to the function. Must be able to be converted into a Zval.