How is it possible to return a value from a function?

A function returns a value using the instruction ‘return $value;’.