nerdexam
Zend

200-550 · Question #54

Under what condition may HTTP headers be set from PHP if there is content echoed prior to the header function being used?

The correct answer is B. Output buffering is enabled. See the full explanation below for the reasoning.

Question

Under what condition may HTTP headers be set from PHP if there is content echoed prior to the header function being used?

Options

  • Aheaders_sent() returns true
  • BOutput buffering is enabled
  • CThe client supports local buffering
  • DThe webserver uses preemptive mode

How the community answered

(13 responses)
  • B
    85% (11)
  • C
    8% (1)
  • D
    8% (1)

Community Discussion

No community discussion yet for this question.

Full 200-550 Practice