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

Answer Posted / satish

echo is language construct. print is function. echo is
faster. langauge constructs are faster than functions,
always. echo may tek mutiple arguments as well. echo
doesn't give return value.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is php front end or back end?

511


How can we display the output directly to the browser?

529


What is the purpose of the '.frm' file extension? What do thes file contain?

511


What is difference between mysql_fetch_array and mysql_fetch_assoc?

495


How can you declare the array in php?

522






What does the array operator '===' means?

553


Can php use gettext?

562


Which parts of php are case sensitive?

493


Explain the difference between $message and $$message?

552


In php how can you jump in to and out of "php mode"?

565


What are the methods of array in java?

490


What is default session time in php?

520


Describe session in php.

535


Does php have a future?

511


How is the ternary conditional operator used in php?

519