Vidyalelo
JavaScript · Q65

Sockets

Programming · JavaScript · question 65

Q65

What will the file_get_contents() return?

A.
Server’s response
Answer
B.
Errors
C.
Exception
D.
Client’s response

Answer: Option A

Solution

Answer: Option A
Solution:
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: