Dostupnost ve verzích: `PHP 4.0`
Tells what the user's browser is capable of
|Parametr||Datový typ||Výchozí hodnota||Poznámka|
||null,||The User Agent to be analyzed. By default, the value of HTTP User-Agent header is used; however, you can alter this (i.e., look up another browser's info) by passing this parameter.|
||null||If set to true, this function will return an array instead of an object.|
The cookies value simply means that the browser itself is capable of accepting cookies and does not mean the user has enabled the browser to accept cookies or not. The only way to test if cookies are accepted is to set one with setcookie, reload, and check for the value.