xhgui不显示php本机功能
I'm learning how to use Xhgui (0.4.0) tool. When i was reading tutorials about it, I saw that in profiles occurs all of called functions - even php native functions just like array_filter etc. In my Xhgui installation i've tried profile simple script:
我正在学习如何使用Xhgui(0.4.0)工具。当我阅读有关它的教程时,我看到在配置文件中发生所有被调用的函数 - 甚至是php本机函数就像array_filter等。在我的Xhgui安装中我尝试了简单的脚本:
<?php
sleep(5);
but Xhgui prints only
但Xhgui只打印
- ???_op 1 5,000,359 µs 0 µs 752 bytes 0 bytes 5,000,359 µs 0 µs 752 bytes 0 bytes
- ??? _ op 15,000,359μs0μs752字节0字节5,000,359μs0μs752字节0字节
- load::web/app.php 1 5,757 µs 0 µs 3,880 bytes 7,200 bytes 5,757 µs 0 µs 3,880 bytes 7,200 bytes
- load :: web / app.php 15,757μs0μs3,880字节7,200字节5,757μs0μs3,880字节7,200字节
- main() 1 360 µs 0 µs 1,040 bytes 1,000 bytes 5,006,509 µs 0 µs 6,480 bytes 8,200 bytes
- main()1360μs0μs1,040字节1,000字节5,006,509μs0μs6,480字节8,200字节
- {closure}
- {关闭}
Is it some special option to enable list native functions ?
是否有一些特殊选项来启用列表本机功能?
1 个解决方案
#1
1
Acording to there github issue tracking it's a known issue once OPCache gets involved.
根据github问题跟踪,一旦OPCache介入,它就是一个已知问题。
This happens when op code caching gets involved. Are you using PHP 5.5 by any chance?
涉及操作码缓存时会发生这种情况。您是否有机会使用PHP 5.5?
You might want to use FriendsOfPHP/uprofiler instead of xhprof. The current published versions of xhprof don't work so well with PHP5.5.
您可能希望使用FriendsOfPHP / uprofiler而不是xhprof。当前发布的xhprof版本在PHP5.5中运行不佳。
更多相关文章
- 如何调试UPDATE函数在PHP中无法正常工作的原因?
- php变量函数,回调函数
- PHP里为啥会有session_start()这个函数?
- PHP - 函数 & 检测函数/类/方法是否存在
- 如何在表单操作中执行PHP函数?
- 使用jquery / ajax在CodeIgniter控制器内调用函数
- php数字操作,高精度函数,保留计算结果小数位
- 函数不返回“functions.php”中的值
- 在通过AJAX响应发送的页面上执行javascript函数