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 / manpreet
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 ? | 150 Yes | 16 No |
Post New Answer View All Answers
What are the difference between echo and print?
What is the best way to test the strpos() return value in php?
How does php and apache work?
What is the function file_get_contents() useful for?
Why do we need abstract class in php?
How do you sort an array in php?
Is it easy to learn wordpress?
What does $_ post mean in php?
What does php mean?
Tell me will a comparison of an integer 12 and a string "13" work in php?
What is if isset ($_ post submit )) in php?
What are the file upload settings in configuration file?
How do you end php?
How to avoid the undefined index error?
What are the advantages of indexes in php?