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 / saurabh kumar
echo is a statement.
while print is a function
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 ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is better .net or php?
What is var_dump?
What is difference between html and php?
What is the difference between "echo" and "print" in php?
What is the static variable in function useful for?
How to calculate the difference between two dates using php?
What is trim codeigniter?
How to define a user function?
Explain about switch statement in PHP?
Explain a resource?
How to include a file code in different files in php?
How to remove an empty directory?
How to call a php function from html button?
What is a null coalescing operator in php7?
How does csrf attack work?