3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $bar = NULL; $bar = (bool)$bar; $bar = strval($bar); settype($bar, 'integer'); echo($bar);
Output for 4.3.0 - 7.1.0
0