What is the difference between echo and print statement?

Answers were Sorted based on User's Feedback



What is the difference between echo and print statement?..

Answer / rashmi bajpai

echo and print both are language construct. print always
return boolean value. we can acts it as a function but we
can't use echo as a function.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More PHP Interview Questions

What is difference between php and wordpress?

0 Answers  


What is the use of mysql_real_escape_string() function?

0 Answers  


What is die in php?

0 Answers  


How to return a value back to the function caller?

0 Answers  


What is use of header() function in php? What the limitation of header()?

0 Answers  






What are php expressions?

0 Answers  


What is the use of dual table in mysql?

0 Answers  


What is php mainly used for?

0 Answers  


What is rtrim php?

0 Answers  


How can we submit from without a submit button?

0 Answers  


write a program to print [123] [456] [789] note : braces also need to be printed

2 Answers   Net Solution,


Can we override static method in php?

0 Answers  


Categories