Problem Statement
Which function reads the entire file into a string?
Explanation
file_get_contents reads the entire file content into a single string, making it a simple way to load small files.
Code Solution
SolutionRead Only
$data = file_get_contents('info.txt');