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 base_convert($d[2], 10, 16).base_convert($d[1], 10, 16);
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/P940c on line 5 0100000000000080 800000001

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