3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$DXPcmd = array(0x55,0x82,0x10,0x31,0x00,0x51,0x96); $DXPcmd = array(0x55,0x82,0x10,0x31,0x00,0x51); $DXPcmd = "558210310051"; $SUM=0; for ($i=0; $i < strlen($DXPcmd)-1; $i+=2){ $SUM += hexdec($DXPcmd[$i].$DXPcmd[$i+1]); } $NOTSUM = ~$SUM; echo dechex($NOTSUM); $CHKSUM = bin2hex(dec2bin($NOTSUM) & dec2bin(3)); echo dechex($CHKSUM); ?>
Output for git.master, git.master_jit, rfc.property-hooks
fffffffffffffe96 Fatal error: Uncaught Error: Call to undefined function dec2bin() in /in/nRMVh:13 Stack trace: #0 {main} thrown in /in/nRMVh on line 13
Process exited with code 255.

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:
67.9 ms | 401 KiB | 8 Q