Home
last modified time | relevance | path

Searched refs:get_browser (Results 1 – 13 of 13) sorted by relevance

/PHP-7.2/ext/standard/tests/misc/
H A Dget_browser_error.phpt2 Test get_browser() function : error functionality
17 /* Prototype : mixed get_browser([string browser_name [, bool return_array]])
28 echo "*** Testing get_browser() : error functionality ***\n";
31 var_dump( get_browser( 'foobar', true ) );
34 var_dump( get_browser( 'foobar', true, 15 ) );
37 var_dump( get_browser( null, 'foobar' ) );
42 *** Testing get_browser() : error functionality ***
114 Warning: get_browser() expects at most 2 parameters, 3 given in %s on line %d
117 Warning: get_browser(): HTTP_USER_AGENT variable is not set, cannot determine user agent name in %s…
H A Dget_browser_no_default.phpt2 get_browser() without a default
8 var_dump(get_browser(""));
H A Dbug65550.phpt2 Bug #65550 (get_browser() incorrectly parses entries with "+" sign)
12 $caps = get_browser($user_agent, true);
H A Dbug69983.phpt2 Bug #69983 (get_browser fails with user agent of null)
9 $browser=get_browser(NULL, true);
H A Dget_browser_variation2.phpt2 Test get_browser() function variation : Return data as object
19 var_dump(get_browser($agent));
H A Dget_browser_variation1.phpt2 Test get_browser() function : variation functionality: extra browser names
17 /* Prototype : mixed get_browser([string browser_name [, bool return_array]])
28 echo "*** Testing get_browser() : variation functionality: extra browser names ***\n";
32 var_dump( get_browser( $browsers[$x], true ) );
38 *** Testing get_browser() : variation functionality: extra browser names ***
H A Dget_browser_basic.phpt2 Test get_browser() function : basic functionality
17 /* Prototype : mixed get_browser([string browser_name [, bool return_array]])
28 echo "*** Testing get_browser() : basic functionality ***\n";
31 var_dump( get_browser( $browsers[$x], true ) );
37 *** Testing get_browser() : basic functionality ***
H A Dbrowsernames.inc4 * Common browser names. Used with: get_browser()
H A Dget_browser_variation3.phpt2 Test get_browser() against a larger corpus
10 $pattern = get_browser($agent, true)['browser_name_pattern'];
/PHP-7.2/ext/standard/
H A Dphp_browscap.h27 PHP_FUNCTION(get_browser);
H A Dbrowscap.c663 PHP_FUNCTION(get_browser) in PHP_FUNCTION() argument
H A Dbasic_functions.c3209 PHP_FE(get_browser, arginfo_get_browser)
/PHP-7.2/
H A DNEWS2418 . Fixed bug #70490 (get_browser function is very slow). (Nikita)
3070 . Fixed bug #65550 (get_browser() incorrectly parses entries with "+" sign).

Completed in 35 milliseconds