What is the command to read the contents of a file in PHP?

To read the contents of a 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 provide the file path as the parameter to the function.

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

echo $file_contents;