But for small sites, in my opinion include just is good, but when you'll start programming big projects, over at least 100kb of code you'll understand where and why and what you want to use, it would be stupid to have all those functions (include, require, include_once, require_once) if they didn't do anything special or we could live without them (we can live without them, but eh..)
I myself, now include files like this, for example:
if (FALSE === (include "siteTemplate" . substr(strtoupper($theSite['url']['protocol']), 1). ".php")) {
echo 'Site Template for <b>' . $theSite['url']['protocol'] . '</b> Protocol could Not be Found on the Server';
}and I don't need to check if the file exists or not and even sometimes, if it exists, the file can't be included, besides, checking every file if it exists is a waste of resources, especially if you have lots of things/files in your script to use.. require, include_once, require_once can be used to check for === FALSE too




