3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array( 0 => 'sdasd', 1 => '<p>&nbsp;</p>', 2 => 'dsfsdfsdf', 3 => 'sadasd', 4 => '<i></i>' ); var_dump(array_map('strip_tags',$arr));
Output for 4.3.0 - 5.6.25, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
array(5) { [0]=> string(5) "sdasd" [1]=> string(6) "&nbsp;" [2]=> string(9) "dsfsdfsdf" [3]=> string(6) "sadasd" [4]=> string(0) "" }