3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = '145'; var_dump((bool)$string);
based on jnsNg
Output for 5.5.0 - 7.2.6
bool(true)