I have just seen this
// Check to see if the request is a XHR call if (request::is_ajax()) { // Send the 403 header header(\'HTTP/1.1 403 Forbidden\');
Short answer. It just ends the function, its much like a function with no return statement. Nothing is returned, the function is just exited.
In your second example, $var would = nothing.
Why not execute it and see?