xhprof安装及使用

 

 

http://aofengblog.blog.163.com/blog/static/6317021201341851510578/

php7安装

 

swoole异步mysql demo

 

swoole websocket demo

 

 

 

swoole数据库连接复用demo

 

db类下载地址:

http://www.fengfengphp.com/yaf/db.zip

phpstorm使用xdebug断点调试

 

 

设置phpstorm

file -> settings -> Debug ->修改端口为6007

开启phpstorm监听xdebug,在IDE右上角,如下图:

12

开启书签,种下cookie,访问被断点的网页

phpstorm左下角可进行断点调试,如下图:

22