Posts Tagged ‘Exception’

Php backtrace with proper information.   Php backtrace with proper information. we can use debug_backtrace. But debug_backtrace provide a lots of data which might be not use full for one. So for fetching more accurate information we can use the below code. $e = new Exception; var_dump($e->getTraceAsString());