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 is array and function?
Write down the code for saving an uploaded file in PHP.
What is the difference between md5(), crc32() and sha1() crypto on php?
Tell me how to set a page as a home page in a php based site?
Why many companies are switching their current business language to php?
List some of the features of php7.
How to download and install php on windows?
Explain what is the main difference between require() and require_once()?
How are php sessions stored?
What is design pattern? Explain all including singleton pattern?
What is the purpose of using php?
How is it possible to remove escape characters from a string?
What is the function of trim?
What is $row in php?
What is $_ get and $_ post in php?