phpstrom下载及配置

下载破解phpstrom

下载phpstrom 2018.2.5 网盘中有
windows下找到
C:\Windows\System32\drivers\etc
1.打开hosts文件,添加:0.0.0.0 account.jetbrains.com
2.用浏览器打开 http://idea.lanyus.com/ ,点击页面中的“获得注册码”,然后在注册时切换至Activation Code选项,输入获得的注册码

关闭try黄色报错提示

PHPStorm 2017.3中新增加了Unhandled Exception 异常提示: 比如使用了throw new Exception("…") 的地方 方法体的phpdoc中没有添加@throw Exception 标签或者在代码块中没有添加try-catch 就会有该提示,官方描述如下: In PhpStorm 2017.3 we’ve added a new inspection Unhandled Exception, which can be found under Settings | Editor | Inspections | PHP | Probable bugs | Unhandled exception. It reports exceptions which are neither enclosed in a try-catch block nor documented using the @throws tag. The inspection helps you find all the places where exceptions could be thrown what would, in turn, lead to Fatal Error. There is a quick fix: “Add @throws tag” and in the next EAP we’re planning to release “Surround with try/catch” quick fix.

如何关掉提示: Preferences->Editor->Inspections-> 搜索框输入“Unhandled Exception” 把后面的框变为未勾选状态 点击OK 即可

使用xdebug

若使用wampserver安装,则已下载好xdebug
[xdebug]
zend_extension =“D:\wamp64\bin\php\php7.1.9\zend_ext\php_xdebug-2.5.5-7.1-vc14-x86_64.dll”

xdebug.remote_enable = on
xdebug.profiler_enable = on
xdebug.remote_port=9000

猜你喜欢

转载自blog.csdn.net/BingJingforyou/article/details/83414106