Using Sublime Text to output "Hello world" requires only four steps: create a new file, enter the PHP code, save the file and run the code. You can see "Hello world" four times in the output panel.
How to use Sublime Text to output "Hello world"
It only takes a few steps to use Sublime Text to output "Hello world" Simple steps:
1. Create a new file
Ctrl N
(Windows) orCommand N
(macOS) to create a new file.2. Enter the code
3. Save the file
.php
. For example,hello_world.php
.4. Run the code
Ctrl B
(Windows) orCommand B
(macOS) Run the code.Tip:
PATH
environment variable.Ctrl Shift L
(Windows) orCommand Shift L
(macOS).The above is the detailed content of How to use php to output four lines of Helloold in sublime. For more information, please follow other related articles on the PHP Chinese website!