3v4l.org

run code in 300+ PHP versions simultaneously
<?php printf("%u\n",0xffffffffffffffff ); // 0 printf("%d\n",0xffffffffffffffff ); // 0 printf("%f\n", hexdec("0xffffffffffffffff")); // 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

preferences:
38.04 ms | 402 KiB | 5 Q