public function __debugInfo() { if ($this->isFreed()) { return ['id' => $this->key, 'object' => null, 'freed' => true]; } return ['id' => $this->key, 'object' => $this->unwrap(), 'freed' => false]; }