Whenever any function call occurs in PHP, I want to write down the name of the function, its arguments, and the time of the call. Are there any means to achieve this. I have a function to register, how to set this function to execute on every function call?
Use a profiler. Check out Xdebug. http://xdebug.org/
The best way to do this is to call the logging function from each of the other functions. Or you can use the profiler as Adam said
Source: https://habr.com/ru/post/899104/More articles:Why does InverseFunction [0 &] @ 0 return 33/10? - wolfram-mathematicaHow to change the current SBCL directory? - common-lispHow to create a soap client? - javaCan regular expressions find duplicate characters? - regexSimilarity matrix → feature vector algorithms? - algorithmScrolling UITableView programmatically with acceleration and deceleration - iosMVC HtmlHelper vs FluentValidation 3.1: Problems Related to Getting ModelMetadata IsRequired - asp.net-mvc-3Import java source project into android project - javaJson parse performance between jackson and gson - performanceGlassfish failed to start after heap size increase - jvmAll Articles