3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strip_tags('<br><br/><br />', '<br><br/>'), PHP_EOL; echo strip_tags('<br><br/><br />', '<br>'), PHP_EOL;
Output for 5.3.4 - 7.2.0
<br><br/><br /> <br><br/><br />
Output for 4.3.10 - 4.4.9, 5.0.2 - 5.3.3
<br><br/><br /> <br><br />
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
<br><br/><br /> Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/k91kG on line 3 PHP_EOL<br><br /> Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/k91kG on line 4 PHP_EOL