nerdexam
Zend

ZF-100-500 · Question #197

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

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

Question

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

Options

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

How the community answered

(32 responses)
  • A
    75% (24)
  • B
    13% (4)
  • C
    6% (2)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full ZF-100-500 Practice