3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function addFunction($arg) { parse_str($arg, $var); foreach ($var as $key => $val) { echo $key , " --> " , $val, "\n"; } } addFunction('variable1=value1&variable2=value2');
Output for 4.3.0 - 7.2.0
variable1 --> value1 variable2 --> value2