If zend_overload_fetch returns the overload, it would be invoked with the original function as the first argument.
This may or may not work in 7.4 depending on what dmitry does next.
This would have to be set as either fcall_begin handler in zend extension or opcode handler for DO_FCALL/DO_FCALL_BY_NAME.
This is only possible if the engine supports hotswapping, which it may or may not.
fetch should alloc and probably zero run time cache of overload ...