3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $badwords = 'base64_decode+union+select'; foreach (array_keys($_GET) as $key){ foreach(explode('+',$badwords) as $badware){ $_GET[$key]=str_replace($badware, $empty_string,$_GET[$key]); } }
Output for 4.3.2 - 7.1.0
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: empty_string in /in/CjL5G on line 5 Notice: Undefined variable: empty_string in /in/CjL5G on line 5 Notice: Undefined variable: empty_string in /in/CjL5G on line 5