3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $text = '<a href="http://www.someplace.com" some="<test>">link</a> <others>stuff</others>'; echo strip_tags($text,"<a>");
based on 3KKLW
Output for 4.3.0 - 7.2.0
<a href="http://www.someplace.com" some="test">link</a> stuff