3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<h1>Newline</h1> <?php echo "This is \n broken."; ?> <h1>Not newline</h1> <?php echo 'This is \n broken.'; ?>
Output for 4.3.0 - 7.1.0
<h1>Newline</h1> This is broken. <h1>Not newline</h1> This is \n broken.