No, there's no exit or die command.
The structure is:
function a($function_name) {
$result = call_user_func_array($function_name, $param_array) ;
echo "<p>Result is $result</p>";
}
function named_function() {
$output = '';
$output .= "text";
echo $output;
return $output;
}
The named_function is called and runs as desired.
But the line "<p>Result is $result</p>"; is never reached. Execution just seems to return to the line after the function call on the HTML page. So it's not dying altogether, but it's skipping the line I logically expect it to reach next.
So I'm sure I'm the one at fault, but I cannot see why.