Run the php program directly with editplus

Source: Internet
Author: User
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/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.