Tag: diff between include and require in php

Difference Between Include And Require In PHP

Functional Work : Both functions perform similar work. Both functions will include and evaluates the specific file while executing the code. Functional Difference : if include() is not able to find a specified file on location at that time it will throw a warning however, it will not stop script execution. For the same scenerio require() will throw fatal error and it will stop the script execution. PHP include and Read more…