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

Answer Posted / kroonal

echo() have multiple arguments whereas print() have one
arguments. echo() have not any return value whereas print()
return 0 or 1 as per success

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parent __construct ();?

539


How to call a php function from html button?

611


What is null value in php?

569


How to check whether a number is prime or not?

543


Do you have to initialize variables in php?

490






Tell me what library is used for pdf in php?

518


What are variables in research examples?

564


Write a program in php to check whether a number is prime or not?

496


Explain the difference between require() and require_once()?

526


What is abstraction php?

532


What is php call function?

504


What is the difference between require_once and require in php?

556


What is zend studio for?

540


How to support multiple-page forms?

567


Is php better than java?

543