mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Optimize extends
This commit is contained in:
@@ -14,4 +14,11 @@ function drop() {
|
||||
$e = new Exception();
|
||||
echo "-------\nDump trace: \n".$e->getTraceAsString()."\n";
|
||||
exit();
|
||||
}
|
||||
|
||||
function dump() {
|
||||
foreach(func_get_args() as $arg) {
|
||||
fwrite(STDERR, "DUMP: ".call_user_func("print_r", $arg, true)."\n");
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user