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 is x+ mode in fopen() used for?
What is cakephp framework?
How to get the value of current session id?
Tell me can you extend a final defined class?
How do you remove whitespace from the beginning and end of a $string variable?
What is env in laravel?
Explain converting an object?
How would you determine the size of a file in php?
Which method do you follow to get a record from a million records? (Searching not from database, from an array in php)?
How to get the number of characters in a string?
Which will start a session?
How to remove leading and trailing spaces from user input values in php?
Why do we use polymorphism in php?
Is laravel an oop?
Which is faster for or foreach?