WHAT IS THE DIFFERENCE BETWEEN INCLUDE() AND REQUIRE()

Royce Roy

Total Post:0

Points:0
Posted by  Royce Roy
PHP 
PHP
 439  View(s)
Ratings:
Rate this:
  1. Royce Roy

    Post:51

    Points:255
    What is the difference between include() and require()

    When file is not found using include() method, then it will show warning, but program execution will continue whereas in require(), it will cause fatal error and halt the program execution.

      Modified On Mar-28-2018 11:10:19 PM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!