nerdexam
Zend

200-530 · Question #27

When setting HTTP headers from PHP, how can you make sure that your application sends the same header twice, with different values?

The correct answer is A. Set the second argument of the header() function to false. See the full explanation below for the reasoning.

Question

When setting HTTP headers from PHP, how can you make sure that your application sends the same header twice, with different values?

Options

  • ASet the second argument of the header() function to false
  • BPHP does that automatically
  • COne kind of header may only be sent once
  • DUse the header_add() function

How the community answered

(26 responses)
  • A
    81% (21)
  • B
    4% (1)
  • C
    12% (3)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice