donatj / PhpUserAgent

Lightning Fast, Minimalist PHP User Agent String Parser.
https://donatstudios.com/PHP-Parser-HTTP_USER_AGENT
MIT License
565 stars 128 forks source link

UC Browser not detected #63

Closed infendory closed 4 years ago

infendory commented 4 years ago

My Android UC Browser uses this UA string: Mozilla/5.0 (Linux; U; Android 6.0; en-US; ZTE BLADE V7 Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/57.0.2987.108 UCBrowser/13.0.8.1291 Mobile Safari/537.36

when passing this to parse_user_agent, the result is: Android/Chrome/57.0.2987.108

donatj commented 4 years ago

Thank you for the heads up. I corrected this and tagged a release v0.16.0 https://github.com/donatj/PhpUserAgent/releases/tag/v0.16.0