<?php

# parsez un Query String
$str = "first=value&arr[]=foo+bar&arr[]=baz";
parse_str($str);
echo $first, "\n";  // value
echo $arr[0], "\n"; // foo bar
echo $arr[1], "\n"; // baz

print "\n";
parse_str($str, $output);
echo $output['first'], "\n";  // value
echo $output['arr'][0], "\n"; // foo bar
echo $output['arr'][1], "\n"; // baz

?>
