RETURN Statement

Ends script execution immediately. If an expression is provided, then that value is returned to the caller.  If no expression is provided, then NULL is returned.

Syntax

RETURN;
RETURN expression;

Parameters

Examples