
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!