3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s1 = 'frm_division=58'; $s2 = '?frm_division=58'; $s3 = 'frm_division=58&foo=test'; parse_str($s1, $d1); parse_str($s2, $d2); parse_str($s3, $d3); var_dump($d1, $d2, $d3);
Output for 4.3.0 - 7.2.0
array(1) { ["frm_division"]=> string(2) "58" } array(1) { ["?frm_division"]=> string(2) "58" } array(2) { ["frm_division"]=> string(2) "58" ["foo"]=> string(4) "test" }