3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump((string) false === ''); var_dump((string) true === '1');
Output for 5.6.38 - 7.3.1
bool(true) bool(true)