Key = $key; $this->Value = $value; } public function __toString(): string { if(isset($this->Key) && isset($this->Value)) return "{$this->Key} => \"{$this->Value}\""; if(!isset($this->Key) && isset($this->Value)) return "NULL => \"{$this->Value}\""; if(isset($this->Key) && !isset($this->Value)) return "{$this->Key} => NULL"; if(isset($this->Key) && isset($this->Value)) return "NULL => NULL"; return "FAIL"; } }