3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = '123123123123123123123'; $b = '123123123123123123124'; $c = '1231231231231231231234'; var_dump($a == $b); var_dump($a == $c); var_dump((int) $a === (int) $b); var_dump((int) $a === (int) $c);
Output for 5.4.4 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
bool(false) bool(false) bool(true) bool(true)
Output for 4.3.0 - 5.4.3
bool(true) bool(false) bool(true) bool(true)