3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hello = 0; while($hello<5) { echo nl2br('Hello World \n'); echo '<br>'; $hello+=1; } echo 'Goodbye World';?>
Output for 4.3.0 - 7.1.0
Hello World \n<br>Hello World \n<br>Hello World \n<br>Hello World \n<br>Hello World \n<br>Goodbye World