Question 2

Last Updated :
Discuss
Comments

What is the purpose of the return statement in PHP functions?

It stops the execution of the function.

It sends a value back to the function caller.

It prints the output directly.

It defines the function's parameters.


Tags:
Share your thoughts in the comments