3v4l.org

run code in 300+ PHP versions simultaneously
<?php printf("%u",0xffffffffffffffff ); // 0 printf("%d",0xffffffffffffffff ); // 0 // max integer that can be stored as floating pt value (2 ** 53) -1: var_dump( 0x001fffffffffffff ); // float 9.007199254741E+15 var_dump( (int) 0x001fffffffffffff); // int -1 // but can do this: printf("%f", hexdec("ffffffffffffffff"));
Output for git.master, git.master_jit, rfc.property-hooks
00int(9007199254740991) int(9007199254740991) 18446744073709551616.000000

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