Did you know that require() and include() work differently? Both are used for including code in another file into your program, but there is a crucial difference in how they operate when that file cannot be read which any PHP programmer needs to know about. There's also a slight difference with require() between new and older versions of PHP which this tutorial discusses too.
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
Date: Dec, 10 2006
Author: Sven Vdhrison, http://discomoose.org/2006/04/28/the-difference-between-require-and-include/