Does we can find the browser capabilities in PHP ?

Yes, we can find the browser capabilities in php using get_browser() function . it is a inbuilt function
in PHP. It returns an object or an array with information about the user’s browser on success, or
FALSE on failure.
The get_browser() function has 2 parameters and are optional parameter, they are given bellow :-
 user_agent : it is utilized to specify the name of an HTTP user agent.
 return_array : it return an array instead of an object if the value is set to true.

Syntax : get_browser(user_agent, return_array)

Example :

$browser = get_browser();

Output :
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/98.0.4758.102 Safari/537.36