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
Which method do you follow to get a record from a million records? (Searching not from database, from an array in php)?
What are different types of runtime errors in php?
What is a null coalescing operator in php7?
What is return in php function?
Tell me which function gives us the number of affected entries by a query?
What is the meaning of die in php?
What is strcmp?
Is uploaded file php?
Which php framework is in demand?
How does html form submit work?
Why echo is faster than print in php?
Write a program to find a string is palindrome or not?
What is csrf token and how will you add csrf token in ajax?
How to remove an empty directory?
What is substr() in php? And how it is used?