3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump((bool)"true"); var_dump((bool)"TRUE"); var_dump((bool)"false"); var_dump((bool)"FALSE");
based on 1Fpok
Output for 4.3.0 - 7.1.0
bool(true) bool(true) bool(true) bool(true)