+ 1
What is the differnce between echo and print in php?
Are both same? since both are giving the same output?
1 Resposta
+ 3
1.Echo is generally slower than print
2. Echo doesn't return any value. Print returns 1 if succesful
3. In echo you can pass multiple arguments but print allows only 1 argument