codice:
function lev_decript($string)
{
	if (lev_check($string))
	{
		$newstring = $string;
		$newstring= str_replace("#double;","\"","$newstring"); 
		$newstring= str_replace("#single;","'","$newstring"); 
		$newstring= str_replace("#left;","<","$newstring"); 
		$newstring= str_replace("#right;",">","$newstring"); 
		$newstring= str_replace("#dpoint;",":","$newstring"); 
		$newstring= str_replace("#slash;","/","$newstring");
		$newstring= str_replace("#roundleft;","(","$newstring"); //replace / with #roundleft;
		$newstring= str_replace("#roundright;",")","$newstring"); //replace / with #roundright;
		$newstring= str_replace("#squareleft;","[","$newstring"); //replace / with #squaredleft;
		$newstring= str_replace("#squareright;","]","$newstring"); //replace / with #squareright;
		$newstring= str_replace("#graphleft;","{","$newstring"); //replace / with #graphleft;
		$newstring= str_replace("#graphright;","}","$newstring"); //replace / with #graphright;
		return"$newstring";
	}
	else hack("Errore nella in lev_decript la viariabile conteneva caratteri non validi prima della codifica");
}