Write a program to print “Hello World” using echo

Description:
Write a program to print “Hello World” using echo only?

Conditions:

  • You can not use any variable.

View Solution /Program

 <?php
echo "Hello World";
?>
Tutorials Class - Output Window

Hello World


Learn more about the similar topics:
Tutorials
PHP Variables
Exercises & Assignments
Write a program to print “Hello World” using echo
Write a program to print “Hello PHP” using variable
Write a program to print a string using echo+variable.
Write a program to print two variables in single echo
Interview Questions & Answers
How to check if a variable is empty in PHP?
Is PHP a case sensitive language?
What are the different data types in PHP?