如何记录PHP中内置函数的使用情况?
考虑一个内置php函数,例如如何记录PHP中内置函数的使用情况?,php,logging,nginx,fpm,Php,Logging,Nginx,Fpm,考虑一个内置php函数,例如file\u put\u contents()。在Nginx上运行php-fpm是否可以记录该函数的所有用法 我考虑的示例输出如下: timestamp path_to_the_file_which_used_the_function parameters_passed_to_the_function 启用。这会记录每个函数的调用次数、执行时间和调用堆栈。但是,它可能不显示传递的参数
file\u put\u contents()
。在Nginx上运行php-fpm是否可以记录该函数的所有用法
我考虑的示例输出如下:
timestamp path_to_the_file_which_used_the_function parameters_passed_to_the_function
启用。这会记录每个函数的调用次数、执行时间和调用堆栈。但是,它可能不显示传递的参数