What is the Diff. Between echo() and Print() in PHP?
Answer Posted / ramesh kumar jayaraman
In Php echo is a statement..it doesn't return any
value...And It is faster
because it does not return any value, but print which
always returns 1 and 0.
The print acts like a function and it can be used in complex
expressions.
but echo can not be used in this way.
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What are the data types in php?
Does mysql need php?
What is php session id?
Tell me how can we get the error when there is a problem to upload a file?
What does the expression exception::__tostring means?
What is the scope of a variable defined in a function?
What is difference between html and php?
What are majic methords in php?
What is the use of mysql_real_escape_string() function?
How to pad an array with the same value multiple times?
How are sessions maintained?
What is json php?
Steps for the payment gateway processing?
Are php sessions secure?
What are the popular frameworks in php?