# What’s the difference between include and require?

**URL:** <https://forum.kirupa.com/t/what-s-the-difference-between-include-and-require/293950>\
**Category:** programming\
**Created:** [August 6, 2009, 9:22am UTC](https://forum.kirupa.com/t/what-s-the-difference-between-include-and-require/293950 "2009-08-06T09:22:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilbertsavier](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@gilbertsavier](https://forum.kirupa.com/u/gilbertsavier)\
**Post date:** [August 6, 2009, 9:22am UTC](https://forum.kirupa.com/t/what-s-the-difference-between-include-and-require/293950/1 "2009-08-06T09:22:15Z")

</div>

Hi,  
failures. If the file is not found by require(), it will cause a fatal error and halt the execution of the script. If the file is not found by include(), a warning will be issued, but execution will continue.
