3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function addFunction($arg) { parse_str($arg); echo $variable2; // value2 } addFunction('variable1=value1&variable2=value2');
Output for 7.2.0 - 7.3.0alpha1
Deprecated: parse_str(): Calling parse_str() without the result argument is deprecated in /in/mvGUr on line 4 value2
Output for 4.3.0 - 7.1.10
value2