3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = '922337203685477580' . '7'; $b = '922337203685477580' . '8'; if ($a == $b) { echo "$a == $b\n"; } else { echo "$a != $b\n"; }
based on ZLbnJ
Output for 5.4.4 - 7.2.0
9223372036854775807 != 9223372036854775808
Output for 4.3.0 - 5.4.3
9223372036854775807 == 9223372036854775808