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 / muhammad babar bhatti
echo is a command for display a string or statement
print is a function for display a string or statement, but
it returns true/false also and print_r is also a function
that use to display an array data which we can not do
through the print function or echo statement.
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is a php class?
What is urlencode and urldecode in php?
what is the use of include_once in php?
What is zend studio for?
Tell me what is the default session time in php?
What are php loops?
What is phpsessid?
What is form action php?
What is the difference between == and === operator in PHP?
So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?
How can cross site request forgery csrf be prevented?
What is 'float' property in css?
Explain about PHP filter and why it should be used?
What are the three parts of an http request?
What are the 5 types of variables?