Get IE Version PHP

<?php
preg_match(‘/MSIE (.*?);/’, $_SERVER[‘HTTP_USER_AGENT’], $matches);
echo $version = $matches[1];
?>

Share