×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Gábor Papp
Added: Nov 5, 2016 6:09 AM
Modified: Nov 5, 2016 6:48 AM
Views: 5
Tags: no tags
  1. function e2($e) {
  2.     $hol=debug_backtrace();
  3.     echo '<br /><strong style="color: #ff0000;">'.$hol[0]['line'].': </strong>'.$hol[0]['file'].'<br />';
  4.     if ($e) { echo '<strong>'.$e.'</strong><br />'; }
  5.     echo '<br />';
  6. }
  7. function e($i,$e) {
  8.     $hol=debug_backtrace();
  9.     echo '<strong style="color: #ff0000;">'.$i.': </strong>'.$e.'<br /><span style="font-size: 11px;">('.$hol[0]['line'].' - '.$hol[0]['file'].')</span><br /><hr />';
  10. }