Server-Side Scripting/Introduction/PHP
Appearance
index.php
[edit | edit source]<?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 | edit source]Copy and paste the code above into the following free online development environment or use your own PHP compiler / interpreter / IDE.