3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function out($v='') { echo "$v\n"; } ?> newline newline newline <?php out('oh php') ?> newline newline <?php print('oh php') ?> newline newline
Output for 4.3.0 - 7.1.0
newline newline newline oh php newline newline oh phpnewline newline