Method: browser::engine
Returns the browser engine
Info
Syntax
browser::engine($ua=null)
Parameters
- $ua (string) The user agent string
Return (string)
The browser engine
Example
echo browser::engine();
/*
sample output: webkit
possible engines:
- trident
- gecko
- presto
- webkit
*/