Joshua
Joshua

Reputation: 6843

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 accomplished in any way? Such a feature could be useful for diagnostics or performance tests. Does anyone know of such a mechanism in PHP?

Upvotes: 1

Views: 338

Answers (2)

aviv
aviv

Reputation: 2809

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

Upvotes: 1

Related Questions