This function decode data given in COMP-3 format
Prototype:
The function decodes $comp3_data with $comp3_data_len in text human readable format.
RETURN: This function returns string with decoded text.
<?php $data = "\x02\x00\x80\x82\x2F"; // 5 bytes len $decodedText = mfcdb_comp3decode($data, 5); echo "Encoded data : ".bin2hex($data)." - Decoded text: ".$decodedText."\n"; ?>