The documentation of
require on the
PHP website is incorrect with regards to
require()'s behaviour. It says
require()
is just like
include(), but it isn't.
include()
takes the include path from the PHP variable
include_path, but
require() does not. It takes it from the
open_basedir variable.