1 2 3 4 5
<?php var_dump(dechex("4294967295")); // '7fffffff' var_dump( hexdec("7fffffff")); // 2147483647
1 2
string(8) "7fffffff" int(2147483647)