As follows:
echo (function ($e,$f) { return $e.' '.$f.'='.($e $f);})(10,20) ;
If a self-executing function needs to output a return value, echo cannot be used. Generally, return is used to return the information that needs to be output.
If a self-executing function needs to output a return value, echo cannot be used. Generally, return is used to return the information that needs to be output.