3v4l.org

run code in 300+ PHP versions simultaneously
<?php $big = -1 * PHP_INT_MAX; echo bin2hex(pack('P', $big)); echo "\n"; $packed = pack('VV', $big & 0x00000000ffffffff, ($big & 0xffffffff00000000) >> 32); $bin = bin2hex($packed); echo $bin."\n"; $d = unpack('V2', $packed); echo str_pad(base_convert($d[2], 10, 16), 8, '0', STR_PAD_LEFT).str_pad(base_convert($d[1], 10, 16), 8, '0', STR_PAD_LEFT);
Output for git.master, git.master_jit, rfc.property-hooks
0100000000000080 Deprecated: Implicit conversion from float 1.8446744069414584E+19 to int loses precision in /in/62jsj on line 5 0100000000000080 8000000000000001

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