1.

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

Answer» 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:


Discussion

No Comment Found

Related InterviewSolutions