Home
last modified time | relevance | path

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

12345678910>>...34

/PHP-8.0/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.0/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", NULL),
10 array("~/home/user/bar", ' '),
11 array("~/home/user/bar.tar", ".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", NULL),
16 array("~/home/user/bar.tar", ''),
[all …]
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_change_user.phpt14 $host, $user, $db, $port, $socket);
21 $host, $user, $db, $port, $socket);
29 $host, $user, $db, $port, $socket);
44 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
49 if (substr($tmp['user'], 0, strlen($user)) !== $user)
50 printf("[015] Expecting user %s, got user() %s\n", $user, $tmp['user']);
61 $host, $user, $db, $port, $socket);
79 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
112 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
117 if (substr($tmp['user'], 0, strlen($user)) !== $user)
[all …]
H A Dmysqli_change_user_old.phpt8 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
10 $host, $user, $db, $port, $socket));
24 $host, $user, $db, $port, $socket);
41 $host, $user, $db, $port, $socket);
56 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
61 if (substr($tmp['user'], 0, strlen($user)) !== $user)
62 printf("[015] Expecting user %s, got user() %s\n", $user, $tmp['user']);
77 $host, $user, $db, $port, $socket);
87 $host, $user, $db, $port, $socket);
95 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
[all …]
H A Dmysqli_change_user_oo.phpt23 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
25 $host, $user, $db, $port, $socket);
30 if (false !== ($tmp = $mysqli->change_user($user, $passwd . '_unknown_really', $db)))
33 if (false !== ($tmp = $mysqli->change_user($user, $passwd, $db . '_unknown_really')))
37 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
39 $host, $user, $db, $port, $socket);
51 if (true !== ($tmp = $mysqli->change_user($user, $passwd, $db)))
54 if (!$res = $mysqli->query('SELECT database() AS dbname, user() AS user'))
59 if (substr($tmp['user'], 0, strlen($user)) !== $user)
60 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+
8 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
9 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port…
10 $host, $user, $db, $port, $socket));
34 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
35 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
36 $host, $user, $db, $port, $socket);
47 Warning: mysqli_change_user(): (%d/%d): Access denied for user '%s'@'%s' (using password: %s) in %s…
H A Dmysqli_pconn_twice.phpt18 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
19 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
20 $host, $user, $db, $port, $socket);
22 if (true !== ($tmp = my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)))
36 if (!$link = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
38 $host, $user, $db, $port, $socket);
41 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket)))
55 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
58 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
60 $host, $user, $db, $port, $socket);
[all …]
H A Dmysqli_pconn_conn_multiple.phpt18 if (!$link = my_mysqli_connect($phost, $user, $passwd, $db, $port, $socket))
20 $phost, $user, $db, $port, $socket);
43 if (!$link = new my_mysqli($phost, $user, $passwd, $db, $port, $socket))
45 $phost, $user, $db, $port, $socket);
71 if (!$link = mysqli_connect($phost, $user, $passwd, $db, $port, $socket))
73 $phost, $user, $db, $port, $socket);
82 $host, $user, $db, $port, $socket);
105 if (!$link = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
107 $host, $user, $db, $port, $socket);
133 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
[all …]
H A Dmysqli_change_user_new.phpt8 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
9 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port…
10 $host, $user, $db, $port, $socket));
25 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
26 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
27 $host, $user, $db, $port, $socket);
30 …if (false !== ($tmp = @mysqli_change_user($link, $user . '_unknown_really', $passwd . 'non_empty',…
/PHP-8.0/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.0/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-8.0/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.0/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.0/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.0/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.0/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-8.0/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.0/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
15 echo "*** Testing session_set_save_handler() : calling default handler when save_handler=user ***\n…
24 Fatal error: PHP Startup: Session save handler "user" cannot be set by ini_set() in Unknown on line…
25 *** Testing session_set_save_handler() : calling default handler when save_handler=user ***
/PHP-8.0/ext/standard/tests/file/
H A Dbasename.phpt60 array("~/home/user/bar"),
61 array("~/home/user/bar", ""),
62 array("~/home/user/bar", NULL),
63 array("~/home/user/bar", ' '),
64 array("~/home/user/bar.tar", ".tar"),
65 array("~/home/user/bar.tar", "~"),
66 array("~/home/user/bar.tar/", "~"),
67 array("~/home/user/bar.tar/", ""),
68 array("~/home/user/bar.tar", NULL),
69 array("~/home/user/bar.tar", ''),
[all …]

Completed in 59 milliseconds

12345678910>>...34