- var_dump: documentation ( source)
- hexdec: documentation ( source)
- printf: documentation ( source)
<?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"));