1.What are the difference between echo , print , print_r ?
else this 3 can we show output to a client in some other
way?
Answer Posted / pravendra
echo is a statement used to print the line.
while print and print_r is a function.
if take the example of array then
we can't print whole array by using echo or print. For this
we have to use the print_r function
| Is This Answer Correct ? | 20 Yes | 6 No |
Post New Answer View All Answers
Which of the data type is compound datatype supported by PHP?
Is php used in 2019?
Why do we use csrf token?
What is the function to count elements in an array in PHP?
Write down the code for saving an uploaded file in PHP.
What is $row in php?
What is preg_match?
Is runtime polymorphism overriding?
what the new feature add in php 7.2?
Why php is used?
Write a program to display a table of any given number?
What is php form validation?
What are objects in php?
Are php variables global?
What is $_ get?