3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_POST[1] = 'lolol'; $_POST[2] = '1l1l1l'; $_POST[3] = '<p></p>'; $_POST[4] = '*.*""'; function protect(){ addslashes($_POST); array_map("strip_tags",array_key($_POST)); } foreach($_POST as $k => $v){ echo $k,$v; } return $_POST;
Output for 4.3.0 - 7.1.0
1lolol21l1l1l3<p></p>4*.*""