nerdexam
Zend

ZF-100-500 · Question #193

Which of the following code snippets will you use to destroy a log if the variable $logger contains the log record?

The correct answer is B. <php $logger=null. See the full explanation below for the reasoning.

Question

Which of the following code snippets will you use to destroy a log if the variable $logger contains the log record?

Options

  • A<php remove($logger);
  • B<php $logger=null;
  • C<php delete($logger);
  • D<php $logger->null;

How the community answered

(43 responses)
  • A
    9% (4)
  • B
    84% (36)
  • C
    2% (1)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full ZF-100-500 Practice