Set a callback function to be called whenever a function is entered or exited
function fb_setprofile( mixed $callback, int $flags = SETPROFILE_FLAGS_DEFAULT, vec<string> $functions = vec [ ], ): void;
Takes 3 args, the function name, the mode (enter or exit), and an array describing the frame.
mixed $callback- Profiler function to call or null to disable
int $flags = SETPROFILE_FLAGS_DEFAULT- Controls when it should get called back and with what
vec<string> $functions = vec [ ]- Only receive callbacks on these functions. In effect only when it's not empty.