Configure editplus to run the php program and configure editplus to run the php program directly .? 1. EnglishEdition: Tools-& gt; Preferences-& gt; Tools-& gt; UserToolsMenutext: phpCommand: D :\\ php \ p configure editplus to directly run the php program
Configure editplus to run the php program directly.
?
1. English Edition:
Tools> Preferences> Tools> User Tools
Menu text: php
Command: D :\\ php \ php.exe
Argument: $ (FileName)
Initial Directory: $ (FileDir)
?
2. Chinese version:
Tools> configure User Tools> user tools
Menu text: PHP
Command: D :\\ php \ php.exe?Note: install the PHP execution file in the PHP directory by yourself.
Parameter: $ (FileName)
Start Directory: $ (FileDir)
?
Appendix: you can select capture output to display the running result in the lower-right corner. Easy debugging!
?
Application:
In this way, json parsing is much more convenient, for example:
? Shortcut: ctrl + 1. the output is as follows:
---------- PHP ----------
Object (stdClass) #1 (2 ){
? ["Error"] =>
? String (1) "1"
? ["Errmsg"] =>
? String (15) "incorrect path"
}
Output completed (2 seconds)-normal termination
?
?
Reference: http://blog.163.com/dollare@126/blog/static/3661149020109792744643/