function filter_call ($instance, $method, ...$args)
  {
    if (is_object ($instance)) {
      if (is_object ($instance) && method_exists ($instance, $method)) return $instance->$method (...$args);
      if (isset($instance[$method]) && is_callable ($instance[$method])) {
        $m = $instance[$method];
        return $m(...$args);
      }
    }
    return null;
  }
function filter_call ($instance, $method, ...$args)
  {
    if (is_object ($instance)) {
      if (is_object ($instance) && method_exists ($instance, $method)) return $instance->$method (...$args);
      if (isset($instance[$method]) && is_callable ($instance[$method])) {
        $m = $instance[$method];
        return $m(...$args);
      }
    }
    return null;
  }
function filter_call ( $ instance , $ method , ... $ args ) { if ( is_object ( $ instance ) ) { if ( is_object ( $ instance ) && method_exists ( $ instance , $ method ) ) return $ instance -> $ method ( ... $ args ) ; if ( isset ( $ instance [ $ method ] ) && is_callable ( $ instance [ $ method ] ) ) { $ m = $ instance [ $ method ] ; return $ m ( ... $ args ) ; } } return null ; }
Calls a method on an object with the given arguments.

@param object $instance
@param string $method
@param array  ...$args
@return mixed
Calls a method on an object with the given arguments .