3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo bin2hex(strrev(base64_encode(123456789))); echo " "; $str = "3d3d516343746d4d6d6c31566956336"; echo $str; echo " "; $b64 = base64_decode($str); echo $b64; echo " "; $strrev = strrev($str); echo $strrev; echo " "; $hex2bin = base64_decode($str); echo $hex2bin; echo " "; echo base64_decode(strrev(hex2bin($str)));
Output for 5.4.0
35677a4e3255444e7a49544d 3d3d516343746d4d6d6c31566956336 ����^��~����ޜ�^z��z�~ 63365966513c6d6d4d647343615d3d3 ����^��~����ޜ�^z��z�~