not saying RTFM, .. but i really want to point out how great the php documentation is. i wasn't sure the answer to this myself, besides that they are very much alike, so i went to the php.net website and typed in
require in the function search. php.net function search is a priceless resource for your php development.
http://us4.php.net/manual/en/function.require.php
Quote:
|
require() and include() are identical in every way except how they handle failure. include() produces a Warning while require() results in a Fatal Error. In other words, don't hesitate to use require() if you want a missing file to halt processing of the page. include() does not behave this way, the script will continue regardless. Be sure to have an appropriate include_path setting as well.
|