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

Answer Posted / arvind pippal

echo is the multiple funtion,print does not multiple
parameters. It is also generally argued that echo is
faster, but usually the speed advantage is negligible, and
might not be there for future versions of PHP.
advantages as formatted output, but it’s the slowest way to
print out data out of echo, print.

Is This Answer Correct ?    13 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why constructor is not overridden?

544


Which will start a session?

581


Describe session in php.

535


What is a php form?

543


How to call javascript function in php without any event?

495






What is put method in php?

532


How to write in a file in php?

537


Tell me what type of operation is needed when passing values through a form or an url?

538


Is PHP an open source software?

580


What is orm in php framework?

502


How we can retrieve the data in the result set of mysql using php?

526


Why php is better?

539


What is the use of is_array() and in_array()?

544


How to block direct directory access in PHP?

561


what the new feature add in php 7.2?

541