What is the purpose of the file_get_contents()?
(a) To get the errors and exceptions
(b) To get the client’s response
(c) To get the server’s response
(d) To get the data
(a) To get the errors and exceptions
(b) To get the client’s response
(c) To get the server’s response
(d) To get the data
The correct answer is (c) To get the server’s response
For explanation I would say: The file_get_contents() is a PHP’s native function used to hit the URL and read the server’s response into
a variable $wpt_response: