3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $html = '<article>lorem ipsum<br> dolor<br /> sit</article>'; echo strip_tags($html) . "\n"; echo strip_tags($html, '<br>') . "\n"; echo strip_tags($html, '<br/>') . "\n"; echo strip_tags($html, '<br><br />') . "\n"; echo strip_tags($html, '<br><br/>') ."\n";
based on 44WS7
Output for 4.3.0 - 7.2.0
lorem ipsum dolor sit lorem ipsum<br> dolor<br /> sit lorem ipsum dolor sit lorem ipsum<br> dolor<br /> sit lorem ipsum<br> dolor<br /> sit