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
What are the different types of php variables?
How to include a file code in different files in php?
Which escape sequences can be used in single quoted strings in php?
Is array function in php?
What are some of the advanced features of php?
What is alias in php?
Is php better than java?
Where is php code written?
Why should I store logs in a database rather than a file?
Can we run php in apache tomcat?
How variables are passed through arguments?
What is session_register()?
Tell me what is the use of "ksort" in php?
Tell me what is the main difference between php 4 and php 5?
What is a helper function?