Q. What will the file_get_contents() return?

  • (A) Server’s response
  • (B) Errors
  • (C) Exception
  • (D) Client’s response
πŸ’¬ Discuss
βœ… Correct Answer: (A) Server’s response
Explanation: 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:
Explanation by: Mr. Dubey
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


πŸ“Š Question Analytics

πŸ‘οΈ
115
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate