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
What is the difference between unset and unlink?
What is inheritance in php?
Tell me how can we check the value of a given variable is alphanumeric?
Which have the fastest execution between mysql_fetch_array() and mysql_fetch_assoc()
Explain about the connective abilities of the PHP?
What is composer used for?
Explain the three different kinds of Arrays?
Which php framework is best?
How to Retrieve the Session ID of the Current Session?
What is the functionality of the functions strstr() and stristr()?
Explain briefly about a search-friendly site looks like?
What is inheritance in php? How many types of inheritance supports php?
What is php explain how php works?
Which variable declarations within a class is invalid in php?
Which is better php praogramming or cad/cam scope wise and also salaray wise?