Question from the PHP5 test

What is the output of the following code? $a = new stdClass(); $a->foo = 'bar'; unset($a); echo $a->foo;

Medium

When is the destructor of a class called?

Author: Mathieu RobinStatus: PublishedQuestion passed 61 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!