Server-Side Scripting/Introduction/PHP

index.php

edit
<?php

// Displays 'Hello world!'
//
// References:
//  https://repl.it/languages/php7
//  https://www.php.net/manual/en/tutorial.firstpage.php

echo 'Hello world!';

?>

Try It

edit

Copy and paste the code above into the following free online development environment or use your own PHP compiler / interpreter / IDE.