Skip to main content

At the very end of the redirect function in pset7 in functions.php there was:

//exit immediately since we're redirecting anyway.

exit;

I know that exit prevents from interpreting any code below it but the function is returning anyway. So, why it existed here?

Thanks.

At the very end of the redirect function in pset7 in functions.php there was:

//exit immediately since we're redirecting anyway.

exit;

I know that exit prevents from interpreting any code below it but the function is returning anyway. So, why it existed here?

Thanks.

At the very end of the redirect function in pset7 in functions.php there was:

//exit immediately since we're redirecting anyway.

exit;

I know that exit prevents from interpreting any code below it but the function is returning anyway. So, why it existed here?

deleted 1 character in body
Source Link

At the very end of the redirect function in pset7 in functions.php there was:

 
//exit immediately since we're redirecting anyway.

exit;

I know that exit prevents from interpreting any code below it but the function is returning anyway. So, why it existed here?

Thanks.

At the very end of the redirect function in pset7 in functions.php there was:

 

I know that exit prevents from interpreting any code below it but the function is returning anyway. So, why it existed here?

Thanks.

At the very end of the redirect function in pset7 in functions.php there was:

//exit immediately since we're redirecting anyway.

exit;

I know that exit prevents from interpreting any code below it but the function is returning anyway. So, why it existed here?

Thanks.

Post Undeleted by Farouk Sabry
Post Deleted by Farouk Sabry
Post Undeleted by Farouk Sabry
Post Deleted by Farouk Sabry
Source Link

pset7 redirect function

At the very end of the redirect function in pset7 in functions.php there was:

I know that exit prevents from interpreting any code below it but the function is returning anyway. So, why it existed here?

Thanks.