3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = '<span id="id" class="myclass" style="">text</span>'; var_dump(strip_tags($a));
Output for 4.3.0 - 7.1.0
string(4) "text"