PHP debugging or performance Hook
        Posted  
        
            by Joshua
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Joshua
        
        
        
        Published on 2010-03-21T12:35:09Z
        Indexed on 
            2010/03/21
            12:41 UTC
        
        
        Read the original article
        Hit count: 216
        
php
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?
© Stack Overflow or respective owner