Re: How to use return() in PHP?
If called from the global environment, the script is interrupted. If the current script was include () or require (), then control is returned to the calling script, and the return value is used as a result of the function include (). eval () returns NULL unless return is called in the evaluated code, in which case the value passed to return is returned. In the case of a syntax error in the evaluated code, eval () returns FALSE and execution of the following code continues normally. It is not possible to catch the error analysis of the function eval () function using set_error_handler ().
I do to dead flowers what people at morgues do to dead people. Suck all the moisture out, dip them in plastic, paint them up pretty and put them in a nice frame.
Bookmarks