current line

<me> is there a was to output the line where a die() or exit() is run ? or anywhere like print get_current_line(); ?
<me> anyone has any lead on how I can can output the current line of a script ?
<Viper-7> me: __FILE__ and __LINE__ will give you the basics, debug_backtrace() will give you alot more detail about how it got there
<me> Viper-7: thank you kindly !
<Viper-7> http://php.net/manual/en/language.constants.predefined.php