sublime text ctrl+b

Tool -> Build System -> New Build System 

新建文件的内容:

{
    "cmd": ["php", "$file"],
    "file_regex": "php$",
    "selector": "source.php"
}
原文地址:https://www.cnblogs.com/hanpengyu/p/5407015.html