format php code in sublime text 3 code example
Example: how to use php in sublime text 3
In Sublime Text 3, Click Tools on the Menu Bar
Next click New Build System.... at the very bottom
Next enter the following into the file:
{
"cmd": ["C:/xampp/php/php.exe", "$file"],
"file_regex": "php$",
"selector": "source.php"
}
Then go ahead :)