Home >Development Tools >sublime >How to write php using sublime

How to write php using sublime

藏色散人
藏色散人Original
2019-09-18 10:48:236335browse

How to write php using sublime

How to write php with sublime?

Use sublime to write php code

①Add the php path to the path environment variable

②Open the sublime software , Tools —> Build System —> New Build System, get the file with the suffix "sublime-build"

Replace the content with:

{ 
    "cmd": ["php", "$file"],
    "file_regex": "php$", 
    "selector": "source.php" 
}

Then save it as php.sublime- Just build.

Recommended: [sublime tutorial]

The above is the detailed content of How to write php using sublime. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn