I have a string
$str = "recordsArray[]=3&recordsArray[]=1";
Is there any simple way to make this to an array other than exploding
this string at &? Im expecting a result like this print_r($str);
//expecting output
array('0' => '3','1' => '1');
parse_str()