simple hello world php page code example Example 1: hello world php echo "Hello World"; Example 2: php hello world print "Hello World!";