In PHP the file can be included in two ways –
- include -> If the file is not found then it gives a Warning but the next PHP instructions get executed.
- require -> If the file is not found then it gives a Fatal Error and the next PHP instructions stop from execution.
Note: suffix “_once” ensures that it is not going to consider more than one inclusion for the same file.