nerdexam
National_Instruments

200-500 · Question #120

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

(45 responses)
  • A
    84% (38)
  • B
    9% (4)
  • C
    4% (2)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice