Hello World (PHP)

fingers on laptop keyboard

<?php
// get a line of input from stdin and save it to our variable
$_fp = fopen("php://stdin", "r");
$inputString = fgets($_fp); 
fclose($_fp);

// basic output
print("Hello, World.\n");
print($inputString);
?>