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

Where is php code written?

519


What is encapsulation in php with example?

558


Does csrf token change?

524


What are the functions for imap?

597


How to randomly retrieve a value from an array?

557






What is php data type?

527


What is $_ env in php?

549


What is php form validation?

559


What is session in php w3schools?

560


What is prepared statement in php?

590


How arrays are passed through arguments?

614


Which escape sequences can be used in single quoted strings in php?

527


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

526


Is null function in php?

572


What are php magic methods?

523