Skip to content

Instantly share code, notes, and snippets.

View lamskoy's full-sized avatar

Eugene Lamskoy lamskoy

  • Ukraine
View GitHub Profile
<?php
$backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
$trace = '';
foreach ($backtrace as $i=>$r) {
$trace .= "[$i] {$r['file']}:{$r['line']}\n";
}