Home > Backend Development > PHP Tutorial > sublime runs php code directly

sublime runs php code directly

WBOY
Release: 2016-07-28 08:26:16
Original
2840 people have browsed it

Only simple configuration is required for operation.

First configure the php environment variables

 sublime 直接运行php代码

After the configuration is completed, open sublime

 sublime 直接运行php代码

Click on the new build system

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

Enter the above code to save and change the file name to PHP.sublime-build

After saving, you will find that there will be one more php. Mine has been configured.

Open the php file and use the shortcut key ctrl+B to run the code

The above introduces how sublime can directly run PHP code, including aspects of it. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template