3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php (int)2 ** 63 -1; // -9.2233720368548E+18 0x7FFFFFFFFFFFFFFF; // 9223372036854775807 var_dump((0x7FFFFFFFFFFFFFFF == 2 ** 63 -1) === true); // 9223372036854775807 === -9223372036854800000 // sure why not
based on 5u3Dn
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0beta1
bool(true)