3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump((0 == "thing")); var_dump((int) 'string'); var_dump((int) 'string1'); var_dump((int) '1string');
based on iBRIM
Output for 4.3.0 - 7.2.0
bool(true) int(0) int(0) int(1)