Unlike python, printing in php is done with the echo
statement. In order to execute your code, you would do:
<?php
echo "Hello, World!";
?>
You can check out a great beginner tutorial on php here.
<?php
print("Hello World");
?>
0
solved How to print in PHP blank page