callback = $callback; $this->tag = $tag; } public function __destruct() { ( $this->callback )( "[Destruct] {$this->tag}" ); } }