- var_dump: documentation ( source)
- parse_str: documentation ( source)
- http_build_query: documentation ( source)
<?php
$variable = array(
'test' => "test",
'what' => "something else",
'here[0]' => "yeah",
'here[1]' => "weee"
);
$string = http_build_query($variable);
parse_str($string, $array);
var_dump($array);