Answers for "Differentiate PHP include and require statement"

PHP
0

Differentiate PHP include and require statement

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.
Posted by: Guest on July-09-2021

Browse Popular Code Answers by Language