之前用sublime,简单的配置下可以直接CTRL+b执行,在命令行显示结果,非常方便。
phpstorm也可以

步骤如下

  1. Run-EditConfigurations-点击+号,选择php -script

  2. name 随便写,我们可以写execute-script ,其中的Inter preter 如果你有多个php.exe文件,会提示无效,点击下面红色的Fix,选择一个php版本就好。

phpstorm直接执行php脚本-不通过浏览器

debug
phpstorm直接执行php脚本-不通过浏览器

相关文章:

  • 2021-12-01
  • 2022-12-23
  • 2021-11-19
  • 2021-12-17
  • 2021-11-26
  • 2022-12-23
  • 2021-11-29
  • 2021-09-07
猜你喜欢
  • 2021-11-19
  • 2021-05-30
  • 2021-12-07
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案