What is the difference between how unset works in PHP 4.3.3 and PHP 4.3.6?

In PHP 4.3.3, the unset function does not work correctly when used on objects. This can lead to memory leaks and unexpected behavior in your code. The issue was fixed in PHP 4.3.6, where unset now properly releases memory allocated to objects.

// PHP code snippet to properly unset objects in PHP 4.3.6
$object = new stdClass();
unset($object);