A PHP function to fetch Browser type and version from user agent data