How can you use file_get_contents to read the contents of an HTML file in PHP?

To read the contents of an HTML file in PHP, you can use the file_get_contents function. This function reads the entire contents of a file into a string. You simply need to pass the file path as a parameter to file_get_contents to retrieve the HTML content.

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