/** * Replaces the md5 hashes from dntHash with the original content * @param $text Text to search and replace in * @return string */ function deHash($text) { if (!self::$store) { return $text; } $return = str_replace(array_keys(self::$store), self::$store, $text); self::$store = array(); return $return; }