How can I use the file_get_contents function to read the contents of a file into a string in PHP? Example code: - Biz Tech

How can I use the file_get_contents function to read the contents of a file into a string in PHP? Example code:

Listen
$file_contents = file_get_contents("example.txt");

echo $file_contents;