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 functions of string?
What is putenv?
How to add 301 redirects in PHP?
What is the difference between pop3 IMAP and MAPI?
Difference between get and post method.
What is the use of "enctype" attribute in a html form?
What the use of var_dump()?
What is php used for?
How to track no of user logged in?
What are different types of Print Functions available in PHP?
What are sql functions?
How can we check the value of a given variable is a number?
Which is the best web server?
Tell me what does the initials of php stand for?
What is the difference between rest and soap?