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

Answer Posted / nikunj

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 ?    83 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of triggers in php?

479


What is a controller php?

508


Which function would you use to determine the length of a string in php?

606


How to create a directory?

619


How to get the directory name out of a file path name?

546






What is advanced php programming?

548


Do you know how to declare an array in php?

548


Write a program to find the factorial of a number in php?

532


What is default session time and path in php?

549


What is asort php?

538


How to access a Static Member of a Class in PHP?

517


What is polymorphism in php?

514


Explain what does $_server means?

579


Explain how we can get the number of elements in an array?

523


How many records can be stored in mysql table?

555