nerdexam
Zend

200-550 · Question #228

How can the line on which HTTP headers were sent inside a script be determined?

The correct answer is A. Using the headers_sent() function. See the full explanation below for the reasoning.

Question

How can the line on which HTTP headers were sent inside a script be determined?

Options

  • AUsing the headers_sent() function.
  • BUsing the output_start() function.
  • CUsing the ob_start() function.
  • DCannot be determined

How the community answered

(51 responses)
  • A
    82% (42)
  • B
    10% (5)
  • C
    2% (1)
  • D
    6% (3)

Community Discussion

No community discussion yet for this question.

Full 200-550 Practice