3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $val = '2 dogs'; $int = (string)(int)$val; echo "'$val' == '$int'? ", var_export($int == $val, true), "\n";
based on XjjVu
Output for 4.3.0 - 7.2.0
'2 dogs' == '2'? false