PHP - What is the difference between echo and print statement?

What is the difference between echo and print statement?

EchoPrint
It can accept multiple expressions.It cannot accept multiple expressions.
It is faster than print as it does not return any value.It is slower than echo as it returns a value.
It is a statement used to display the output and can be used with the parentheses echo or without the parentheses echo.It is also a statement which is used to display the output and used with the parentheses print() or without the parentheses print.
It can pass multiple string separated as (,).It cannot pass multiple arguments.
It doesnt return any value.It always returns the value 1.
PHP - What is CAPTCHA?
PHP - CAPTCHA is a test to determine if the user using the system...
PHP - What is difference between developing website using Java and PHP?
PHP - In order to make interactive pages, java uses JSP (Java Server pages)....
PHP - How do you create sub domains using PHP?
PHP - Wild card domains can be used. Sub domains can be created by first creating......
Post your comment
Discussion Board
Php
sir how to fetch data through database in php... can anyone explain it this methdology
Harendar 09-3-2014
Major diff between echo and print
Echo doesn't returns anything while print returns the result or false
VArun Jain 06-13-2013