3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "true" ? "true\n" : "false\n"; echo "false" ? "true\n" : "false\n"; echo "t" ? "true\n" : "false\n"; echo "f" ? "true\n" : "false\n"; ?>
based on WkHiV
Output for 4.3.0 - 7.2.0
true true true true