Some functions in PHP require a callback function. How can I do this in a function myself? First of all, how do I define a function that require a callback function?
And secondly, how do I provide a custom function as the callback function? How do I provide a regular function, an instance function and a static function?