[ create a new paste ] login | about

Link: http://codepad.org/otsGOiWf    [ raw code | output | fork ]

PHP, pasted on Jun 14:
1
2
3
4
5
6
7
8
9
10
<?php

// this doesn't go for 
//hexadecimal specified integers above 2^32-1:

var_dump( 0x100000000 );

// output: int(2147483647)

echo PHP_INT_MAX;


Output:
1
2
float(4294967296)
2147483647


Create a new paste based on this one


Comments: