- hex2bin: documentation ( source)
- bin2hex: documentation ( source)
- base64_decode: documentation ( source)
- base64_encode: documentation ( source)
- strrev: documentation ( source)
<?php
$str = "3d3d516343746d4d6d6c315669563360";
$str = "�Mt�M4" ;
#echo $str; echo " ";
$b64 = base64_decode(10100000);
echo $b64; echo " ";
$strrev = strrev("00000101");
#echo $strrev; echo " ";
$hex2bin = hex2bin($str);
#echo $hex2bin; echo " ";
$a = base64_decode(strrev(hex2bin($str)));
echo $a; echo " ";
echo bin2hex(strrev(base64_encode($str))); echo " ";
echo $str;