3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_POST[1] = 'lolol'; $_POST[2] = '1l1l1l'; $_POST[3] = '<p></p>'; $_POST[4] = '*.sdasad*""'; 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 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
1lolol21l1l1l3<p></p>4*.sdasad*""
Output for hhvm-3.10.0

Process exited with code 153.