0

Don't say return returns a value which is very confusing but what's the difference between an echo and a return.?

I notice some examples like for example math situations will tend to give me a situation that equals the answer so for example 1+1= 2 I notice echo and a return gives the same answer and response when I see an execution of it if they as so different what are they doing given the same results and same effects why would I bother with a return if I can just do the same thing with just use an echo all the time.

2nd Sep 2016, 10:14 AM
Micheal Nunez
Micheal Nunez - avatar
1 ответ
0
echo will execute text to webpage but return doesn't
4th Sep 2016, 12:39 PM
Vishal Prajapati