finally the line number currently being executed can be retrieved using the function zend _ get _ executed _ lineno this function also requires the executor globals as arguments for examples of these functions see れい 362 