What are the advantages of using file_get_contents() over including HTML files in PHP?

When including HTML files in PHP using `include` or `require`, the server will process the included file as PHP code, which may not be desired if the file contains only HTML. This can cause unexpected behavior or errors. Using `file_get_contents()` allows you to read the contents of the file as a string without executing it as PHP code, making it a better option for including HTML files in PHP.

$html_content = file_get_contents('path/to/file.html');
echo $html_content;