Cytat(everth @ 13.03.2011, 19:20:30 )

Przy czym chyba jest tak że jak dajesz require to parser zawsze dołącza dany plik (bez względu na to czy dana funkcja w ogóle będzie wywołana) a include tylko wtedy gdy rzeczywiście dochodzi do jej użycia. Gdzieś czytałem o takiej różnicy, skorygujcie mnie jeśli to bzdura.
Bzdura. Manual - funkcja require.
Kod
require() is identical to include() except upon failure it will also produce a fatal E_COMPILE_ERROR level error. In other words, it will halt the script whereas include() only emits a warning (E_WARNING) which allows the script to continue.