Zend
200-550 · Question #97
Which of the following PHP functions can be used to set the HTTP response code? (Choose 2)
The correct answer is B. header() D. http_response_code(). See the full explanation below for the reasoning.
Question
Which of the following PHP functions can be used to set the HTTP response code? (Choose 2)
Options
- Aheader_add()
- Bheader()
- Chttp_set_status()
- Dhttp_response_code()
- Ehttp_header_set()
How the community answered
(42 responses)- A10% (4)
- B74% (31)
- C14% (6)
- E2% (1)
Community Discussion
No community discussion yet for this question.