What is the difference between return and ECHO in a method?
子寒
子寒 2018-05-07 07:18:54
0
2
1267

What is the difference between return and ECHO in the method?

子寒
子寒

reply all(2)
三宝

return is the value of the returned result and terminates the code, echo is the output string value, this is the output displayed on the page, the value that can be seen

legend

return is the execution result of the returned function,

echo is the output (printing)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template