Sjoerd Van Oosten wrote:

> I'm just wandering what's better, require or include.

Neither is "better"

Now that PHP is being compiled to byte-code before execution, I don't 
*THINK* there's any real difference...

If there *IS* a difference, it's about *WHEN* the code gets evaluated:

require would get evaluated only *ONCE* when it was first encountered, and 
the results get pasted in.

include will re-evaluate the contents every time it is encountered.

-- 
Like music?  http://l-i-e.com/artists.htm


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to