- bin2hex: documentation ( source)
- base64_decode: documentation ( source)
- base64_encode: documentation ( source)
- strrev: documentation ( source)
<?php
echo bin2hex(strrev(base64_encode(123456789)));
$str = "3d3d516343746d4d6d6c31566956336";
echo $str;
$b64 = base64_decode($str);