What is the difference between return and ECHO in the method?
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
return is the execution result of the returned function, echo is the output (printing)
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
return is the execution result of the returned function,
echo is the output (printing)