What is the difference between echo and print statement?

Answer Posted / prabhakaran

echo accept multiply arrgument, echo give u same output,
echo doesnt return anything and it is like a tag
print always return a integer value 1.

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of $_ session?

500


What is php constructor?

523


What are the 5 types of variables?

547


Hello Friends,I am seeking for a job in php having 9 months. exp.Please suggest any company openings.

1681


Is php secure?

508






in PHP for pdf which library used?

538


How to move uploaded files to permanent directory?

512


What is the difference between indexed and associative array?

488


What is the meaning of a final class and a final method?

512


What is the use of mvc in php?

499


How are php sessions stored?

533


What is a controller in programming?

479


What are the two most common ways to start and finish a php block of code?

611


Which of the delimiter is ASP style?

595


"mysql_fetch_row — Get a result row as an enumerated array",this sentence comes from the PHP offical manual.However ,i can not understand the words "enumerated array".I need some help.Thanks a lot to everyone that reply.

1506