What is the Diff. Between echo() and Print() in PHP?
Answer Posted / sreedevi
print is a construct but it returns True on success
outputr False if it was unable to print the output string
echo is faster comparing with print .
print doesnot takes multiple parameters
Is This Answer Correct ? | 31 Yes | 8 No |
Post New Answer View All Answers
What are php expressions?
What are hooks in php?
Tell me how to create a text file in php?
When do you use define() and when do you use const. What are the main differences between those two?
What are the options to transfer session ids?
Is it possible to extend the execution time of a php script?
What is button in html?
What is difference between Method overriding and overloading in PHP?
Why does php start with variables?
Tell me is it possible to remove the html tags from data?
What is a model in php?
Could we start a variable with number like $4name?
Explain why would we use === instead of ==?
Why do we use query?
Can php variables have numbers?