IE11 browser support: Useful detection mechanisms

It\’s so funny how little developers think about it. I don\’t as well, but nowadays I am more aware of these little things that can make your work a nightmare. Here is a little JS snippet to identify IE11 and a php function as well.