3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $red = 'red'; echo !!$red; echo !$red; echo (bool) $red; echo (string) true;
Output for 4.3.0 - 7.1.0
111