Home
last modified time | relevance | path

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

12345678910>>...41

/PHP-7.3/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-7.3/ext/standard/tests/strings/
H A Ddirname_variation.phpt17 "~/home/user/bar",
18 "~/home/user/bar/",
19 "~/home/user/bar.tar",
20 "~/home/user/bar.tar/",
23 "hostname:/home/user/bar.tar",
24 "hostname:/home/user/tbar.gz/",
25 "hostname:/home/user/My Pics.gz",
26 "hostname:/home/user/My Pics.gz/",
27 "hostname:/home/user/My Pics/",
28 "hostname:/home/user/My Pics",
[all …]
H A Dbasename_variation.phpt12 array("~/home/user/bar"),
13 array("~/home/user/bar", ""),
14 array("~/home/user/bar", NULL),
15 array("~/home/user/bar", ' '),
16 array("~/home/user/bar.tar", ".tar"),
17 array("~/home/user/bar.tar", "~"),
18 array("~/home/user/bar.tar/", "~"),
19 array("~/home/user/bar.tar/", ""),
20 array("~/home/user/bar.tar", NULL),
21 array("~/home/user/bar.tar", ''),
[all …]
/PHP-7.3/ext/mysqli/tests/
H A Dmysqli_change_user.phpt33 $host, $user, $db, $port, $socket);
40 $host, $user, $db, $port, $socket);
48 $host, $user, $db, $port, $socket);
63 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
68 if (substr($tmp['user'], 0, strlen($user)) !== $user)
69 printf("[015] Expecting user %s, got user() %s\n", $user, $tmp['user']);
80 $host, $user, $db, $port, $socket);
98 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
128 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
133 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));
40 $host, $user, $db, $port, $socket);
57 $host, $user, $db, $port, $socket);
69 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, $db)))
72 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
77 if (substr($tmp['user'], 0, strlen($user)) !== $user)
78 printf("[015] Expecting user %s, got user() %s\n", $user, $tmp['user']);
93 $host, $user, $db, $port, $socket);
103 $host, $user, $db, $port, $socket);
[all …]
H A Dmysqli_change_user_oo.phpt24 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
26 $host, $user, $db, $port, $socket);
43 if (false !== ($tmp = $mysqli->change_user($user, $passwd . '_unknown_really', $db)))
46 if (false !== ($tmp = $mysqli->change_user($user, $passwd, $db . '_unknown_really')))
50 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
52 $host, $user, $db, $port, $socket);
64 if (true !== ($tmp = $mysqli->change_user($user, $passwd, $db)))
67 if (!$res = $mysqli->query('SELECT database() AS dbname, user() AS user'))
72 if (substr($tmp['user'], 0, strlen($user)) !== $user)
73 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));
35 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
36 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
37 $host, $user, $db, $port, $socket);
48 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 (NULL !== ($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_twice.phpt13 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
14 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
15 $host, $user, $db, $port, $socket);
20 if (true !== ($tmp = my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)))
38 if (!$link = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
40 $host, $user, $db, $port, $socket);
45 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket)))
63 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
66 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
68 $host, $user, $db, $port, $socket);
[all …]
/PHP-7.3/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-7.3/ext/pdo_pgsql/tests/
H A Dbug62479.phpt17 $user = 'pdo_test_'.rand(5, 400);
22 $db->exec("DROP USER IF EXISTS $user");
30 $testConn = new PDO($dsn, $user, $pass);
35 $db->exec("DROP USER $user");
45 $user = "pdo_test_$rand";
46 $template = "CREATE USER $user WITH PASSWORD '%s'";
47 $dropUser = "DROP USER $user";
50 // Create temp user with space in password
58 // Remove the user
61 // Create a user with a space and single quote
[all …]
H A Dbug69362.phpt17 $user = 'pdo_test_'.rand(5, 400);
22 $db->exec("DROP USER IF EXISTS $user");
23 $db->exec("CREATE USER $user WITH PASSWORD '$pass'");
30 $testConn = new PDO($dsn, $user, $pass);
35 $db->exec("DROP USER $user");
45 $user = "pdo_test_$rand";
46 $template = "CREATE USER $user WITH PASSWORD '%s'";
47 $dropUser = "DROP USER $user";
50 // Create temp user with leading single quote
53 $testConn = new PDO($config['ENV']['PDOTEST_DSN'], $user, "'mypassword");
[all …]
/PHP-7.3/Zend/tests/
H A Dget_defined_functions_basic.phpt42 if (!is_array($func["user"])) {
43 echo "TEST FAILED: no element in result array with key 'user'\n";
46 $user = $func["user"];
47 if (count($user) == 2 && in_array("foo", $user) && in_array("helloworld", $user)) {
50 echo "TEST FAILED: missing elements from 'user' array\n";
51 var_dump($user);
/PHP-7.3/ext/xml/
H A Dcompat.c52 XML_Parser parser = (XML_Parser) user; in _start_element_handler()
92 XML_Parser parser = (XML_Parser) user; in _start_element_handler_ns()
256 XML_Parser parser = (XML_Parser) user; in _cdata_handler()
271 XML_Parser parser = (XML_Parser) user; in _pi_handler()
293 XML_Parser parser = (XML_Parser) user; in _unparsed_entity_decl_handler()
305 XML_Parser parser = (XML_Parser) user; in _notation_decl_handler()
330 XML_Parser parser = (XML_Parser) user; in _comment_handler()
356 XML_Parser parser = (XML_Parser) user; in _external_entity_ref_handler()
371 XML_Parser parser = (XML_Parser) user; in _get_entity()
500 parser->user = user; in XML_SetUserData()
[all …]
/PHP-7.3/ext/reflection/tests/
H A Dbug33389.phpt27 Class [ <user> class Test ] {
43 Method [ <user> public method foo1 ] {
51 Method [ <user> public method foo2 ] {
59 Method [ <user> public method foo3 ] {
67 Method [ <user> public method foo4 ] {
75 Method [ <user> public method foo5 ] {
83 Method [ <user> public method bar ] {
91 Method [ <user> public method foo ] {
H A DReflectionMethod_basic2.phpt57 string(%d) "Method [ <user, inherits TestClass> public method foo ] {
73 string(%d) "Method [ <user> static public method stat ] {
79 string(%d) "Method [ <user> static public method stat ] {
89 string(%d) "Method [ <user> private method priv ] {
95 string(%d) "Method [ <user> private method priv ] {
105 string(%d) "Method [ <user> protected method prot ] {
111 string(%d) "Method [ <user> protected method prot ] {
137 string(%d) "Method [ <user> abstract public method int ] {
143 string(%d) "Method [ <user> abstract public method int ] {
177 string(%d) "Method [ <user, dtor> public method __destruct ] {
[all …]
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, overwrites A> private method f ] {
77 Class [ <user> class C extends B ] {
98 Class [ <user> class D extends C ] {
114 Method [ <user, overwrites B> private method f ] {
/PHP-7.3/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_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 …]
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 …]
/PHP-7.3/ext/standard/tests/file/windows_acls/
H A Dcommon.inc22 $user = getenv('USERNAME');
24 if (!$user) {
25 $user = get_current_user();
28 if (!$user) {
29 $user = exec('echo %USERNAME%');
32 return $user;
50 $user = get_username();
51 /* Current user needs to be owner of the test files. As well
61 $user = get_username();
103 $cmd = $icacls . ' ' . $path_escaped . ' /remove:d ' . $user;
[all …]
/PHP-7.3/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
19 * Description : Sets user-level session storage functions
23 echo "*** Testing session_set_save_handler() : calling default handler when save_handler=user ***\n…
31 PHP Recoverable fatal error: PHP Startup: Cannot set 'user' save handler by ini_set() or session_m…
32 *** Testing session_set_save_handler() : calling default handler when save_handler=user ***
/PHP-7.3/tests/output/
H A Dob_implicit_flush_basic_002.phpt2 Test ob_implicit_flush() function : ensure implicit flushing does not apply to user buffers.
11 echo "*** Testing ob_implicit_flush() : ensure implicit flushing does not apply to user buffers. **…
13 // Start a user buffer
18 echo "This is being written to a user buffer.\n";
20 echo "because implicit flushing affects only the top level buffer, not user buffers.\n";
22 // Wipe the user buffer. Nothing should have been flushed.
28 *** Testing ob_implicit_flush() : ensure implicit flushing does not apply to user buffers. ***

Completed in 30 milliseconds

12345678910>>...41