The output of the above script would look something like this:
?php function list_array ($array) {while (list ($key, $value) = each ($array)) {$str .= "lt;B gt;$key: lt; / B gt; $value lt;br gt;\n";} return $str;} echo "$HTTP_USER_AGENT lt;hr gt;\n"; $browser = get_browser(); echo list_array ((array) $browser);?