phacility / xhprof

XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based user interface.
http://pecl.php.net/package/xhprof
Apache License 2.0
2.6k stars 924 forks source link

Fix segfault in xhprof_enable() #90

Open ciencia opened 7 years ago

ciencia commented 7 years ago

Segfaults in PHP 5.6.1 (openSUSE 13.2)

Fix based on https://gist.github.com/suside/6991247

PHP bug: https://bugs.php.net/bug.php?id=65345