Welcome Guest, Not a member yet? Register   Sign In
Is return redirect(); needed?

In controller, When I redirect somewhare, I add return.

funtion submit(){
return redirect()

Is return needed to save memory a bit?

return is not needed in this case. redirect() return a php header response. I would actually assume you are actually using more memory by processing the extra return.

Theme © iAndrew 2016 - Forum software by © MyBB