Differentiate Php Include And Require Statement

[Solved] Differentiate Php Include And Require Statement | Php - Code Explorer | yomemimo.com
Question : Differentiate PHP include and require statement

Answered by : saddam-hussain-cmuiax7rjrvm

The only difference is — the include() statement will only generate a PHP warning but allow script execution to continue if the file to be included can't be found, whereas the require() statement will generate a fatal error and stops the script execution.

Source : | Last Update : Fri, 16 Jul 21

Answers related to differentiate php include and require statement

Code Explorer Popular Question For Php