/ Published in: PHP
Expand |
Embed | Plain Text
<?php # DEBUG //error_reporting(0); function track_stats(){ if ( $trace[1]["args"] ) { } else { $func_args = ''; } "file" => $trace[1]["file"].': '.$trace[1]["line"], "function" => '<strong>'.$trace[1]["function"].'</strong>'.'('.$func_args.')', "called_by" => $trace[2]["function"].' in '.$trace[2]["file"].': '.$trace[2]["line"], "ns" => $exe_time ); } declare(ticks = 1); # /DEBUG ?> WEBSITE <?php echo '<table>'; foreach ($script_stats as $counter => $line) { echo '<tr>'; echo '</tr>'; } echo '</table>'; ?>
You need to login to post a comment.
