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
How to protect special characters in query string?
What is apache and php?
What is php constructor?
What do you mean by having php as whitespace insensitive?
What is action hooks and filter hooks?
What are the features of php 7?
Explain php parameterized functions.
What is the use of rand() in php?
What types of MYSQL function available for affecting columns
How is session data stored?
What is super keyword in c++?
Do you know what's the difference between __sleep and __wakeup?
What's the difference between accessing a class method via -> and via ::?
What are the popular content management systems (cms) in php?
How can php and javascript interact?