What is the difference between echo and print statement?

Answer Posted / sunil kumar

echo can take multiple parameters but print cannot take
multiple parameters.The range of print is higher than
echo.Generally we use echo to print string data

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain scalar type declarations in php7?

549


What is php and its uses?

503


Can the value of a constant change during the script's execution?

539


What is the use session in php?

541


Is array a key php?

511






Why does php need server?

515


How do you define a constant in php?

549


What is the use of preg_match in php?

523


List some sorting functions in php?

541


How do http requests work?

492


Explain preg_Match and preg_replace?

543


What does == mean in php?

510


Does php need a closing tag?

536


What is isset in php?

519


What is the major php security hole? How to avoid?

539