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
How is csrf token generated?
How to get the http request in php?
What is the content of /etc directory?
How do you trim spaces in excel?
Explain mixed and callback functions?
What are properties in php?
Is php a cms?
Does php support multiple inheritance?
What is 'float' property in css?
Explain what are some new features introduced in php7?
Is php 7 backwards compatible?
Do you know what is the differences between $a != $B and $a !== $B?
Is salary a ratio or interval?
Why session is required?
Explain me what are the 3 scope levels available in php and how would you define them?