I'm currently working on a PHP class for detecting browser features from User-Agent (based on work from Gary White and Gregarius project). At the moment, detected features are :
Source code is released under GPL v2 licence.