I installed Xampp and ran a few test and every time i run a page with some PHP content with echo or print it display the code in the browser instead of printing the content.
Here is the code:
<?php
echo "Hello World! <br>";
print "Hello World! <br>";
echo ("Hello World! <br>");
print ("Hello World! <br>");
echo "Hello " . "World!" . "<br>";
print "Hello " . "World!" . "<br>";
echo "Hello ", "World!" , "<br>";
?>