3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump( (int)'11111111111111111111', '11111111111111111111' == '11111111111111111112', (int)'11111111111111111112');
Output for 5.4.4 - 7.1.0
int(9223372036854775807) bool(false) int(9223372036854775807)
Output for 4.3.0 - 5.4.3
int(9223372036854775807) bool(true) int(9223372036854775807)