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 to stop the execution of php script?
Explain the visibility of the property or method?
What is a php array?
What PHP stands for?
What is $_ env in php?
List few sensible functions in PHP?
What is meant by pear in php? What is the purpose of it?
Which is better php or nodejs?
Explain me what is the meaning of a persistent cookie?
What is the difference between indexed and associative array?
Does strlen include null?
Explain me what is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
Explain about looping in PHP?
What is faster in php?
What is pdo classes?