Skip to content

Releases: Qihoo360/phptrace

v1.0.1-beta, Support PHP 7.1

14 Mar 05:02
Compare
Choose a tag to compare
  • Support PHP 7.1
  • Refactor the CLI tool, with a convenient sub-commands mode
  • Add filter for URL, class name, function name in trace mode
  • Add feature to trace all process
  • Add exclusive time calculation
  • Colorized output

Big Refactor

15 May 07:17
Compare
Choose a tag to compare

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

v0.2.2

28 Jan 10:57
Compare
Choose a tag to compare

Changelog

  • Fix #15 , update mmap filename failed when rotates tracelog.
  • Rename the internal binary name from php-trace to trace-php to avoid confusing when using auto complement

v0.2.1

22 Jan 11:38
Compare
Choose a tag to compare

Bugfix

  • phptrace extension may cause segfault when some execption occurs

It is stable now

16 Jan 02:57
Compare
Choose a tag to compare

This is a stable release of phptrace, feel free to use it in production environment.

Changelog:

feature

  • Support Mac OS X (just the trace feature)
  • Support PID which is bigger than 32768
  • Support PHP 5.6+
  • More human friendly error message
  • Remove the temporary tracelog once open

bugfix

  • Probably cause segfault on PHP5.5 +
  • Probably cause segfault when fetch the return value of PHP extension functions
  • Replace usleep with sleep to be compatible with more os platforms
  • Fix phptrace script syntax error
  • Fix fd leak when stop trace in the extension