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
Which cryptographic extension provide generation and verification of digital signatures?
What is use of header() function in php?
Do you know how can we check the value of a given variable is a number?
How do you use end in python?
How to increase the execution time of a PHP script?
Is php case sensitive?
Do you have to initialize variables in php?
Tell us what is the difference between session_unregister() and session_unset()?
What is the importance of "action" attribute in a html form?
Is php 5 still supported?
Do you know how to delete a file from the system?
Tell me what is the use of isset() in php?
What does session start do in php?
What is use of header() function in php? What the limitation of header()?
Can php variables have numbers?