3v4l.org

run code in 300+ PHP versions simultaneously
<?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 git.master, git.master_jit, rfc.property-hooks
35677a4e3255444e7a49544d 3d3d516343746d4d6d6c31566956336 ����^��~����ޜ�^z��z�~ 63365966513c6d6d4d647343615d3d3 ����^��~����ޜ�^z��z�~ Warning: hex2bin(): Hexadecimal input string must have an even length in /in/pGCCt on line 11

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
65.32 ms | 401 KiB | 8 Q