The get_browser () function can be used to detect a function.
If you really want to know the version of the user's browser, you can look at $ _ SERVER ['HTTP_USER_AGENT'] .
Warning: although most users do not, you can send another line of the user agent to the server that can be executed, for example, to protect privacy. If someone wants to go to send you a user agent to be able to use your site, although they will probably know how to deal with any errors that may occur.
As a side question, why are you trying to limit your audience to IE 10 and above? Why not use a library like Modernizr to populate features that might not be available in IE 9?
EDIT: Some IE 10 user agent string information . You will want to read this so that you know what needs to be matched against your $ _SERVER ['HTTP_USER_AGENT'] against
source share