Files
developer-roadmap/roadmaps/php/content/require@Kaaqu-mN7xvHN6CbIn616.md

7 lines
381 B
Markdown

# require
`require` includes and evaluates a specified PHP file. If the file is not found, PHP throws a fatal error and halts execution. It is used when the included file is mandatory for the script to run, such as a configuration file or a class definition.
Visit the following resources to learn more:
- [@official@require](https://www.php.net/manual/en/function.require.php)