Whenever any function invocation happens in PHP, I want to log the function name, its arguments and time of invocation. Is there any means to achieve this. I have a function to log, how to set this function to execute each time any function invocation happens?
Use a profiler. Check out Xdebug. http://xdebug.org/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With