Zend
200-710 · Question #121
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
(28 responses)- A18% (5)
- B71% (20)
- C7% (2)
- E4% (1)
Community Discussion
No community discussion yet for this question.