Difference among include and require

Describe the difference among include and require?

E

Expert

Verified

It’s how they handle failures. If the file is not determined by require(), this will cause a fatal error and halt the execution of script. If the file is not determined by include(), a warning will be issued, however execution will continue.

   Related Questions in Science

©TutorsGlobe All rights reserved 2022-2023.