nerdexam
Zend

200-530 · Question #405

You want to enable compression in the PHP code output. Which of the following ways should you prefer most?

The correct answer is C. Set zlib.output_compression to on. See the full explanation below for the reasoning.

Question

You want to enable compression in the PHP code output. Which of the following ways should you prefer most?

Options

  • ATurn compress_code setting to true.
  • BUse the ob_start() function.
  • CSet zlib.output_compression to on.
  • DSet zlib_compression to on.

How the community answered

(52 responses)
  • A
    2% (1)
  • B
    8% (4)
  • C
    85% (44)
  • D
    6% (3)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice