Return (terminate) caller function from callee
<p>I would like to create a forward-function that terminates the caller-function.
Currently I'm using "exit" in the callee-function to achieve this.</p>

<pre><code>function caller (){
    if($condition){
        forward();
    }
    //code that is not executet if $condition is true
}

//current solution
function forward(){
    //do something
    exit;
}
</code></pre>

<p>I would like to omit the return-statement after calling the forward-function.</p>

<p>I guess there is no other way except throwing an exception?</p>

<p>Thanks for your help.</p>
