3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function protect(){ $a[1] = 'lolol'; $a[2] = '1l1l1l'; $a[3] = '<p>dasdsa</p>'; $a[4] = 'assa"".**&'; //addslashes($a); array_map('strip_tags',$a); protect($a); var_dump($a); }
Output for 4.3.0 - 7.1.0