3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $red = true; $blue = false; echo $red; // php does not need !!$red or !!$blue (the conversion occurs behind the scenes) echo $blue;
Output for 4.3.0 - 7.1.0
1