Thursday, April 1, 2010

what is the difference between echo-print functions

Simple!!

echoOutput one or more strings

print Output a string

echo and print -- print() is not actually a real function (it is a language construct)

echo statement will not return anyrhing

print will return false if it fails

most of the peoples say echo is more efficient that print

There are so many php interview questions and answers will keep coming in this wesite

No comments:

Post a Comment