3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php parse_str('param1=1&param2=2&param3&param4', $output); var_dump($output);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(4) { ["param1"]=> string(1) "1" ["param2"]=> string(1) "2" ["param3"]=> string(0) "" ["param4"]=> string(0) "" }