<?php function actually_unset(&$var){ unset($var); gc_collect_cycles(); } class Foo{ function __destruct(){ echo "destruct "; } } $var = new Foo; actually_unset($var); echo "wat";
You have javascript disabled. You will not be able to edit any code.