How can including a file multiple times in PHP lead to function redeclaration errors?
When including a file multiple times in PHP, functions defined in that file can be redeclared, leading to "function redeclaration" errors. To solve this issue, you can use the `require_once` or `include_once` statements instead of `require` or `include` to ensure that the file is only included once, preventing function redeclaration errors.
// Use require_once or include_once to prevent function redeclaration errors
require_once 'functions.php';
// Your PHP code here