public function getExtendedErrorHex() { if (preg_match("/(?<=data\\s).*?(?=\\,)/", $this->getExtendedError(), $code)) { return $code[0]; } }