Home
last modified time | relevance | path

Searched refs:user (Results 1 – 25 of 908) sorted by relevance

12345678910>>...37

/PHP-8.2/ext/standard/tests/url/
H A Dbug63162.phpt5 [0]=> http://user:pass@host
6 [1]=> //user:pass@host
7 [2]=> //user@host
11 var_dump(parse_url('//user:pass@host'));
12 var_dump(parse_url('//user@host'));
20 ["user"]=>
21 string(4) "user"
28 ["user"]=>
29 string(4) "user"
36 ["user"]=>
[all …]
/PHP-8.2/ext/standard/tests/strings/
H A Ddirname_variation.phpt14 "~/home/user/bar",
15 "~/home/user/bar/",
16 "~/home/user/bar.tar",
17 "~/home/user/bar.tar/",
20 "hostname:/home/user/bar.tar",
21 "hostname:/home/user/tbar.gz/",
22 "hostname:/home/user/My Pics.gz",
23 "hostname:/home/user/My Pics.gz/",
24 "hostname:/home/user/My Pics/",
25 "hostname:/home/user/My Pics",
[all …]
H A Dbasename_variation.phpt7 array("~/home/user/bar"),
8 array("~/home/user/bar", ""),
9 array("~/home/user/bar", ' '),
10 array("~/home/user/bar.tar", ".tar"),
11 array("~/home/user/bar.tar", "~"),
12 array("~/home/user/bar.tar/", "~"),
13 array("~/home/user/bar.tar/", ""),
14 array("~/home/user/bar.tar", ''),
15 array("~/home/user/bar.tar", " "),
19 array("hostname:/home/user/bar.tar", "home"),
[all …]
/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_change_user.phpt15 $host, $user, $db, $port, $socket);
22 $host, $user, $db, $port, $socket);
30 $host, $user, $db, $port, $socket);
45 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
50 if (substr($tmp['user'], 0, strlen($user)) !== $user)
51 printf("[015] Expecting user %s, got user() %s\n", $user, $tmp['user']);
62 $host, $user, $db, $port, $socket);
80 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
113 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
118 if (substr($tmp['user'], 0, strlen($user)) !== $user)
[all …]
H A Dmysqli_change_user_old.phpt9 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
11 $host, $user, $db, $port, $socket));
25 $host, $user, $db, $port, $socket);
42 $host, $user, $db, $port, $socket);
57 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
62 if (substr($tmp['user'], 0, strlen($user)) !== $user)
63 printf("[015] Expecting user %s, got user() %s\n", $user, $tmp['user']);
78 $host, $user, $db, $port, $socket);
88 $host, $user, $db, $port, $socket);
96 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
[all …]
H A Dmysqli_change_user_oo.phpt21 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
23 $host, $user, $db, $port, $socket);
28 if (false !== ($tmp = $mysqli->change_user($user, $passwd . '_unknown_really', $db)))
31 if (false !== ($tmp = $mysqli->change_user($user, $passwd, $db . '_unknown_really')))
35 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
37 $host, $user, $db, $port, $socket);
49 if (true !== ($tmp = $mysqli->change_user($user, $passwd, $db)))
52 if (!$res = $mysqli->query('SELECT database() AS dbname, user() AS user'))
57 if (substr($tmp['user'], 0, strlen($user)) !== $user)
58 printf("[014] Expecting user %s, got user() %s\n", $user, $tmp['user']);
[all …]
H A Dmysqli_report_new.phpt2 mysqli_report(), change user, MySQL 5.6+
9 if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
10 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port…
11 $host, $user, $db, $port, $socket));
30 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
31 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
32 $host, $user, $db, $port, $socket);
43 Warning: mysqli_change_user(): (%d/%d): Access denied for user '%s'@'%s' (using password: %s) in %s…
H A Dmysqli_pconn_twice.phpt19 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
20 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
21 $host, $user, $db, $port, $socket);
23 if (true !== ($tmp = my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)))
37 if (!$link = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
39 $host, $user, $db, $port, $socket);
42 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket)))
56 if (true !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
59 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
61 $host, $user, $db, $port, $socket);
[all …]
H A Dmysqli_pconn_conn_multiple.phpt19 if (!$link = my_mysqli_connect($phost, $user, $passwd, $db, $port, $socket))
21 $phost, $user, $db, $port, $socket);
44 if (!$link = new my_mysqli($phost, $user, $passwd, $db, $port, $socket))
46 $phost, $user, $db, $port, $socket);
72 if (!$link = mysqli_connect($phost, $user, $passwd, $db, $port, $socket))
74 $phost, $user, $db, $port, $socket);
83 $host, $user, $db, $port, $socket);
106 if (!$link = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
108 $host, $user, $db, $port, $socket);
134 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
[all …]
H A Dmysqli_connect_oo.phpt20 $host, $user . 'unknown_really', $db, $port, $socket);
25 // Run the following tests without an anoynmous MySQL user and use a password for the test user!
27 $mysqli = new mysqli($host, $user, $passwd, $db, $port);
35 $mysqli = new mysqli($host, $user, $passwd, $db);
43 $mysqli = new mysqli($host, $user);
50 ini_set('mysqli.default_user', $user);
93 $host, $user . 'unknown_really', $db, $port, $socket);
101 $mysqli = new mysqli($host, $user, $passwd, $db, $port);
110 $mysqli = new mysqli($host, $user, $passwd, $db);
119 $mysqli = new mysqli($host, $user);
[all …]
H A Dmysqli_change_user_new.phpt9 if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
10 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port…
11 $host, $user, $db, $port, $socket));
26 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
27 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
28 $host, $user, $db, $port, $socket);
31 …if (false !== ($tmp = @mysqli_change_user($link, $user . '_unknown_really', $passwd . 'non_empty',…
/PHP-8.2/ext/opcache/tests/
H A Dphi_remove_002.phpt11 function func($blogname, $user = '' ) {
12 if (! is_object( $user ) || ( is_object($user) && ( $user->login != $blogname )) ) {
16 $result = array('user' => $user);
/PHP-8.2/ext/pdo_pgsql/tests/
H A Dbug62479.phpt19 $user = 'pdo_test_'.rand(5, 400);
24 $db->exec("DROP USER IF EXISTS $user");
32 $testConn = new PDO($dsn, $user, $pass);
37 $db->exec("DROP USER $user");
47 $user = "pdo_test_$rand";
48 $template = "CREATE USER $user WITH PASSWORD '%s'";
49 $dropUser = "DROP USER $user";
52 // Create temp user with space in password
60 // Remove the user
63 // Create a user with a space and single quote
[all …]
H A Dbug69362.phpt19 $user = 'pdo_test_'.rand(5, 400);
24 $db->exec("DROP USER IF EXISTS $user");
25 $db->exec("CREATE USER $user WITH PASSWORD '$pass'");
32 $testConn = new PDO($dsn, $user, $pass);
37 $db->exec("DROP USER $user");
47 $user = "pdo_test_$rand";
48 $template = "CREATE USER $user WITH PASSWORD '%s'";
49 $dropUser = "DROP USER $user";
52 // Create temp user with leading single quote
55 $testConn = new PDO($config['ENV']['PDOTEST_DSN'], $user, "'mypassword");
[all …]
/PHP-8.2/Zend/tests/
H A Dget_defined_functions_basic.phpt37 if (!is_array($func["user"])) {
38 echo "TEST FAILED: no element in result array with key 'user'\n";
41 $user = $func["user"];
42 if (count($user) == 2 && in_array("foo", $user) && in_array("helloworld", $user)) {
45 echo "TEST FAILED: missing elements from 'user' array\n";
46 var_dump($user);
/PHP-8.2/tests/output/
H A Dob_implicit_flush_basic_002.phpt2 Test ob_implicit_flush() function : ensure implicit flushing does not apply to user buffers.
5 echo "*** Testing ob_implicit_flush() : ensure implicit flushing does not apply to user buffers. **…
7 // Start a user buffer
12 echo "This is being written to a user buffer.\n";
14 echo "because implicit flushing affects only the top level buffer, not user buffers.\n";
16 // Wipe the user buffer. Nothing should have been flushed.
22 *** Testing ob_implicit_flush() : ensure implicit flushing does not apply to user buffers. ***
/PHP-8.2/ext/reflection/tests/
H A Dbug33389.phpt25 Class [ <user> class Test ] {
41 Method [ <user> public method foo1 ] {
49 Method [ <user> public method foo2 ] {
57 Method [ <user> public method foo3 ] {
65 Method [ <user> public method foo4 ] {
73 Method [ <user> public method foo5 ] {
81 Method [ <user> public method bar ] {
89 Method [ <user> public method foo ] {
H A DReflectionClass_toString_002.phpt29 Class [ <user> class A ] {
45 Method [ <user> public method f ] {
53 Class [ <user> class B extends A ] {
69 Method [ <user, overwrites A, prototype A> public method f ] {
77 Class [ <user> class C extends B ] {
93 Method [ <user, inherits B, prototype A> public method f ] {
101 Class [ <user> class D extends C ] {
117 Method [ <user, overwrites B, prototype A> public method f ] {
H A DReflectionClass_toString_003.phpt29 Class [ <user> class A ] {
45 Method [ <user> private method f ] {
53 Class [ <user> class B extends A ] {
69 Method [ <user> private method f ] {
77 Class [ <user> class C extends B ] {
98 Class [ <user> class D extends C ] {
114 Method [ <user> private method f ] {
/PHP-8.2/ext/xml/
H A Dcompat.c51 XML_Parser parser = (XML_Parser) user; in _start_element_handler()
91 XML_Parser parser = (XML_Parser) user; in _start_element_handler_ns()
255 XML_Parser parser = (XML_Parser) user; in _cdata_handler()
270 XML_Parser parser = (XML_Parser) user; in _pi_handler()
292 XML_Parser parser = (XML_Parser) user; in _unparsed_entity_decl_handler()
304 XML_Parser parser = (XML_Parser) user; in _notation_decl_handler()
329 XML_Parser parser = (XML_Parser) user; in _comment_handler()
355 XML_Parser parser = (XML_Parser) user; in _external_entity_ref_handler()
370 XML_Parser parser = (XML_Parser) user; in _get_entity()
493 parser->user = user; in XML_SetUserData()
[all …]
/PHP-8.2/ext/oci8/tests/
H A Dpersistent.phpt10 var_dump(oci_pconnect($user, $password, $dbase));
11 var_dump(oci_pconnect($user, $password, $dbase));
12 var_dump(oci_pconnect($user, $password, $dbase));
13 var_dump(oci_connect($user, $password, $dbase));
14 var_dump(oci_connect($user, $password, $dbase));
15 var_dump(oci_connect($user, $password, $dbase));
H A Ddrcp_scope2.phpt21 $c = oci_new_connect($user,$password,$dbase);
28 function1($user,$password,$dbase,$conn_type);
31 function2($user,$password,$dbase,$conn_type);
36 function1($user,$password,$dbase,$conn_type);
39 function2($user,$password,$dbase,$conn_type);
43 function function1($user,$password,$dbase,$conn_type)
48 var_dump($conn1 = oci_new_connect($user,$password,$dbase));
51 var_dump($conn1 = oci_connect($user,$password,$dbase));
59 function function2($user,$password,$dbase,$conn_type)
64 var_dump($conn1 = oci_new_connect($user,$password,$dbase));
[all …]
H A Ddrcp_scope1.phpt21 $c = oci_new_connect($user,$password,$dbase);
28 function1($user,$password,$dbase,$conn_type);
31 function2($user,$password,$dbase,$conn_type);
36 function1($user,$password,$dbase,$conn_type);
39 function2($user,$password,$dbase,$conn_type);
43 function function1($user,$password,$dbase,$conn_type)
48 var_dump($conn1 = oci_new_connect($user,$password,$dbase));
51 var_dump($conn1 = oci_connect($user,$password,$dbase));
59 function function2($user,$password,$dbase,$conn_type)
64 var_dump($conn1 = oci_new_connect($user,$password,$dbase));
[all …]
/PHP-8.2/ext/standard/tests/file/windows_acls/
H A Dcommon.inc27 $user = getenv('USERNAME');
29 if (!$user) {
30 $user = get_current_user();
33 if (!$user) {
34 $user = exec('echo %USERNAME%');
37 return $user;
55 $user = get_username();
56 /* Current user needs to be owner of the test files. As well
66 $user = get_username();
108 $cmd = $icacls . ' ' . $path_escaped . ' /remove:d ' . $user;
[all …]
/PHP-8.2/ext/session/tests/
H A Dsession_set_save_handler_class_014.phpt2 Test session_set_save_handler() : calling default handler when save_handler=user
4 session.save_handler=user
17 echo "*** Testing session_set_save_handler() : calling default handler when save_handler=user ***\n…
26 Fatal error: PHP Startup: Session save handler "user" cannot be set by ini_set() in Unknown on line…
27 *** Testing session_set_save_handler() : calling default handler when save_handler=user ***

Completed in 37 milliseconds

12345678910>>...37