+ 2

Please Who can help me with the different bw print and echo in php?

I don't know which one is more efficient between the two. Please I really need help..

21st Apr 2017, 9:14 PM
Ahmad Jafar Muhammad
Ahmad Jafar Muhammad  - avatar
3 Respuestas
+ 14
echo : 1. echo is a statement i.e used to display the output. it can be used with 2. parentheses echo or without parentheses echo. 3. echo can pass multiple string separated as ( , ) 4. echo doesn’t return any value 5. echo is faster then print Print 1. Print is also a statement i.e used to display the output. it can be used with 2. parentheses print( ) or without parentheses print. 3. using print can't pass multiple argument 4. print always return 1 5. it is slower than echo - phptpoint
21st Apr 2017, 9:24 PM
Agus Mei
Agus Mei - avatar
+ 7
You are wellcome
22nd Apr 2017, 11:19 AM
Agus Mei
Agus Mei - avatar
+ 2
Thanks agus
22nd Apr 2017, 11:15 AM
Ahmad Jafar Muhammad
Ahmad Jafar Muhammad  - avatar