Originariamente inviato da mariteo
Avrei bisogno urgente di tradurre questa funzione da Javascript (che non conosco) in PHP:
codice:
function hexToString ($h) {
	for($r = "", $i = strpos($h, "0x") === 0 ? 2 : 0, $j = strlen($h); $i < $j; $i += 2)
		$r .= chr(intval(substr($h, $i, 2), 16));
	return $r;
}