Skip to content

flrnull/php-ftrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-ftrace

Under construction

Usage

<?php
declare(ticks = 1); // should be in the beginning of file
require_once '/path/to/php-ftrace/lib/ftrace.php';
ftrace();

$test = new test();
$test->func1();

ftrace_print();

Docs

  • Depth limit
ftrace(2); // will not trace deeper than 2 levels
  • Return trace result
ftrace();
// ...
$traceData = ftrace_stop();

License

MIT

About

Collects code execution flow and makes it human readable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published