mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
24 lines
500 B
PHP
24 lines
500 B
PHP
<?php
|
|
|
|
require_once __DIR__."/../vendor/autoload.php";
|
|
|
|
|
|
|
|
define('CYTRO_RESOURCES', __DIR__."/resources");
|
|
|
|
require_once CYTRO_RESOURCES."/actions.php";
|
|
require_once __DIR__."/TestCase.php";
|
|
|
|
function drop() {
|
|
call_user_func_array("var_dump", func_get_args());
|
|
$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");
|
|
|
|
}
|
|
} |