3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo preg_replace(array('/\s{2,}/', '/[\t\n]/'), ' ', '<h1> A headline like it would be formatted by an IDE </h1>');
Output for 4.3.0 - 7.1.0
<h1> A headline like it would be formatted by an IDE </h1>