-1
It sounds funny, but it’s true. I made my first code in PHP and tested it, but it didn’t come out what I expected. See the image with the program windows used in this test.
In short, I don’t know why instead of printing 1st > HW
he printed HW"; ?>
in Chrome. It seems that he plays <?php echo "1st >
as an unknown code and prints what follows.
Additionally, I tested it in internet explorer and it only shows the file code, does not run it. After all someone can explain to me what I did wrong in this "hello world"?
Your Xampp is pretty outdated (apparently), the version you’re using is from 2015, maybe you’ve downloaded a version from an old or problematic source or maybe it’s an old computer from which you’ve tampered with something that made PHP stop working on Apache. From any recommend to install the link https://www.apachefriends.org/pt_br/index.html
– Guilherme Nascimento
Or, at the very least, disfigured, because Apache doesn’t seem to be interpreting your file with PHP. If you access the page’s source code, you will see that the PHP code is there the way you wrote it.
– Woss