3v4l.org

run code in 300+ PHP versions simultaneously
<?php $num = 0xffffffffffffffff; echo "Unsigned: ", $num, "\n"; echo "Signed:\n",~$num,"\n"; printf("Unsigned: %u\n Signed:%d",$num, ~$num);
Output for git.master, git.master_jit, rfc.property-hooks
Unsigned: 1.844674407371E+19 Signed: Deprecated: Implicit conversion from float 1.8446744073709552E+19 to int loses precision in /in/PD0ZB on line 4 -1 Deprecated: Implicit conversion from float 1.8446744073709552E+19 to int loses precision in /in/PD0ZB on line 5 Unsigned: 0 Signed:-1

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:
37.08 ms | 402 KiB | 8 Q