3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $text = '<a href="http://www.someplace.com" style="313123">link</a> <others>stuff</others>'; echo strip_tags($text,"<a>");
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<a href="http://www.someplace.com" style="313123">link</a> stuff