Finally, the line number currently being executed can be retrieved using the function zend_get_executed_lineno().
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 例36-2.