Trace is a low-overhead tracing tool for PHP

Trace is a low-overhead tracing tool for PHP.
It can trace all PHP executing, function calls, request information during
run-time. And provides features like Filter, Statistics, Current Status and
so on.
It is very useful to locate blocking, heavy-load problems and debug in all
environments, especially in production environments.

License: Apache 2.0

Latest releases

Version Release Download
1.0.1beta 2017-03-13 trace-1.0.1beta.tgz
1.0.0 2017-01-19 trace-1.0.0.tgz
0.3.0 2015-05-22 trace-0.3.0.tgz
Show all releases


Version Message
1.0.1beta - Add support for PHP 7.1
- Fix problem with arguments passed by-reference #77
- Fix some unit tests
1.0.0 ### Added

- Add support for Linux environment ptrace
- Add support for MacOS
- Add filter by url/class/function name
- Add limit ouput count

### Changed

- Refactoring extensions and tool-side information interaction
- Optimize format and color of the output
- Remove unused messages such as wall_time?memory records
- Improve display status module
0.3.0 ### Added

- Added support for special function calls: `main`, `include`, `require`, `Closure`, `Labmda`, `eval()`
- Added support for PHP 5.1
- Keep collecting and sending back trace information after PHP bailout
- Added duplexing to communication module
- Compatible with Trait Alias
- Added checking for ZTS (Thread-safety support) during configuration

### Changed

- Refactor the PHP extension
- Unified the naming convention of Type, Function, Macro
- Change License to Apache 2.0
- Change Extension's name to "trace" (php is redundant for a PHP extension)
- Improve representation of `zval` and support for Array, Object
- Improve performance when trace if off
- Limit the length of print arguments and retvalue

### Fixed

- Fixed handling of large or small double value that needs scientific notation
- Fixed memory leaks related with SDS
Show complete changelog