What is the Diff. Between echo() and Print() in PHP?

Answer Posted / slm_nam

print() takes multiple arguments and
echo is just take one argument.
print() is a function but echo is statement

Is This Answer Correct ?    3 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between urlencode and urldecode?

526


Explain the ternary conditional operator in php?

614


Is php a middleware?

526


What are the different types of php variables?

556


Do you know what is use of count() function in php?

533






List some array functions in php?

516


How do I debug php?

540


What language is php written in?

607


Does php support inheritance?

529


Can we learn php without html?

558


What is the use of post in php?

515


What are static variables in php?

523


what is variable scope, which variables are accessible from where and what are "undefined variable" errors?

520


What is the difference between runtime exception and compile time exception?

559


What's the output of the ucwords function in this example?

565