开发者

PHP debugging or performance Hook

In an interpreted language like PHP it is possible in theory to set up some sort of callback function that would be run indiscriminately after every line of code. I am wondering if such a thing exists in PHP or if such a thing could be accomplish开发者_开发知识库ed in any way? Such a feature could be useful for diagnostics or performance tests. Does anyone know of such a mechanism in PHP?


http://php.net/manual/en/function.register-tick-function.php


I am not that familiar with that but you can check out zend-studio and xdebug

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜