/ Published in: PHP
displayed filename and line number.
//normal use
d( $arg );
//some arguments
d( $arg1 , $arg2 , ... );
//normal use
d( $arg );
//some arguments
d( $arg1 , $arg2 , ... );
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function d($var){ $var=$args; } $line=$trace[0]['line']; echo '<pre>'; echo '<b>'.$file.' (Line:'.$line.')</b>'."\n"; echo '</pre><br>'."\n"; }