Method: browser::name

Returns the name of the browser

Info

Syntax

browser::name($ua=null)

Parameters

Return (string)

The browser name

Example


echo browser::name();
/*

sample output: safari
possible names: 

- ie (Internet Explorer)
- fx (Firefox)
- gecko
- opera
- chrome
- safari
- iron
- konquerer
- mozilla

*/