Run a PHP script directly in PhpStorm

后端 未结 2 995
醉酒成梦
醉酒成梦 2021-02-12 17:36
  1. How can I instantly run the current PHP file in PhpStorm?
  2. How can I execute PHP command in PHPstorm like PyCharm?
2条回答
  •  情歌与酒
    2021-02-12 17:57

    Right click in the editor, choose Run (or press ctrl+shift+f10) for command line script execution. If you want to test it on a web server, use Open in Browser from the same menu (you must have browser and server with mappings properly configured for this).

提交回复
热议问题