- Impact
- 16
Heres one for you guys! I retrieve variables from an xml parser using simpelxml. It gives me a number in string format:
Outputs:
I need to convert it into an integer so i'll do it this way:
Outputs:
What the deuce! How does the entire value change when converted to an integer?!
PHP:
var_dump($HandshakeTime);
Code:
string(13) "1255970476404"
PHP:
var_dump(($HandshakeTime+0));
Code:
int(2147483647)
What the deuce! How does the entire value change when converted to an integer?!








