public function __clone() { $this->pid = 0; $this->oid = 0; $this->pipe = null; $this->channel = null; }