<?php class Foo{ private $that; function __construct(){ $this->that = $this; } function __destruct(){ echo "destruct\n"; } } (function(){ $x = new Foo(); })(); gc_collect_cycles(); echo "wat";
You have javascript disabled. You will not be able to edit any code.