I used sublime before. With simple configuration, you can directly execute CTRL b and display the results on the command line. ,Very convenient.
phpstorm can also be used
The steps are as follows
1. Run-EditConfigurations-click the number and select php -script
2. Write name as you like , we can write execute-script, in which Inter preter If you have multiple php.exe files, it will prompt that it is invalid. Click the red Fix below and select a php version.
debug