A “ Hello World” program, as the first program, has become a culture whenever learning a new programming language.
You need a certain environment to write PHP scripts. Since PHP is a server-side language, it requires a web server for the script to run. In this article, you will create a local xampp webserver.
below code, echo is used to print the string in front of it.