What is the difference between echo and print statement?
Answer Posted / hari
There is a slight difference between print and echo which
would depend on how you want to use
the outcome. Using the print method can return a true/false
value. This may be helpful during a
script execution of somesort. Echo does not return a value,
but has been considered as a faster
executed command. All this can get into a rather complicated
discussion, so for now, you can
just use whichever one you prefer
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why json is used in php?
What is the latest version of php?
Explain the three different kinds of Arrays?
What is $_ request?
What is the best website to learn php?
What is php simple definition?
What is faster in php?
What are the array functions in php?
What does the unset() function means?
Is php a dying language?
How to download and install php for windows?
What is cookie in php with example?
What is the difference between htmlentities() and htmlspecialchars()?
how retrive the video file in php using video tag
What is a query in php?