/PHP-8.4/ext/standard/tests/url/ |
H A D | bug63162.phpt | 5 [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.4/ext/standard/tests/strings/ |
H A D | dirname_variation.phpt | 14 "~/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 D | basename_variation.phpt | 7 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.4/ext/pdo_pgsql/tests/ |
H A D | gh12423.phpt | 20 $user = $config['ENV']['PDOTEST_USER'] ?? null; 22 if (!$user) { 24 $user = $match[1] ?? ''; 30 $dsn = str_replace("user={$user}", '', $dsnWithCredentials); 44 …$db = new PDO("{$dsn} user={$user} password={$password}", null, null, [PDO::ATTR_ERRMODE => PDO::E… 50 echo "dsn with correct user / incorrect user / correct password".PHP_EOL; 52 …$db = new PDO("{$dsn} user={$user}", 'hoge', $password, [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTI… 68 …$db = new PDO("{$dsn} user={$user} password={$password}", 'hoge', 'fuga', [PDO::ATTR_ERRMODE => PD… 75 dsn without credentials / correct user / correct password 78 dsn with credentials / no user / no password [all …]
|
H A D | bug62479.phpt | 19 $user = 'pdo_test62479'; 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"); 46 $user = "pdo_test62479"; 47 $template = "CREATE USER $user WITH PASSWORD '%s'"; 50 // Create temp user with space in password 58 // Remove the user 59 $pdo->query("DROP USER $user"); [all …]
|
H A D | bug69362.phpt | 19 $user = 'pdo_test69362'; 22 // Assume that if we can't create or drop a user, this test needs to be skipped 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"); 46 $user = "pdo_test69362"; 47 $template = "CREATE USER $user WITH PASSWORD '%s'"; 50 // Create temp user with leading single quote 53 $testConn = new PDO($config['ENV']['PDOTEST_DSN'], $user, "'mypassword");
|
/PHP-8.4/ext/mysqli/tests/ |
H A D | mysqli_change_user.phpt | 15 $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 D | mysqli_change_user_old.phpt | 16 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 18 $host, $user, $db, $port, $socket); 35 $host, $user, $db, $port, $socket); 47 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, $db))) 50 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user')) 55 if (substr($tmp['user'], 0, strlen($user)) !== $user) 56 printf("[015] Expecting user %s, got user() %s\n", $user, $tmp['user']); 71 $host, $user, $db, $port, $socket); 81 $host, $user, $db, $port, $socket); 89 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user')) [all …]
|
H A D | mysqli_change_user_oo.phpt | 18 $mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 20 …if (false !== ($tmp = $mysqli->change_user($user . '_unknown_really', $passwd . 'non_empty', $db))) 23 if (false !== ($tmp = $mysqli->change_user($user, $passwd . '_unknown_really', $db))) 26 if (false !== ($tmp = $mysqli->change_user($user, $passwd, $db . '_unknown_really'))) 30 $mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 42 if (true !== ($tmp = $mysqli->change_user($user, $passwd, $db))) 45 if (!$res = $mysqli->query('SELECT database() AS dbname, user() AS user')) 50 if (substr($tmp['user'], 0, strlen($user)) !== $user) 51 printf("[014] Expecting user %s, got user() %s\n", $user, $tmp['user']); 64 if (false !== ($tmp = @$mysqli->change_user($user, $passwd, $db)))
|
H A D | mysqli_report_new.phpt | 2 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 D | mysqli_pconn_twice.phpt | 19 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 $link = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 39 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket))) 53 if (true !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 56 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 57 …printf("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 58 $host, $user, $db, $port, $socket); [all …]
|
H A D | mysqli_connect_oo.phpt | 15 $host, $user . 'unknown_really', $db, $port, $socket); 20 // Run the following tests without an anoynmous MySQL user and use a password for the test user! 22 $mysqli = new mysqli($host, $user, $passwd, $db, $port); 30 $mysqli = new mysqli($host, $user, $passwd, $db); 38 $mysqli = new mysqli($host, $user); 45 ini_set('mysqli.default_user', $user); 88 $host, $user . 'unknown_really', $db, $port, $socket); 96 $mysqli = new mysqli($host, $user, $passwd, $db, $port); 105 $mysqli = new mysqli($host, $user, $passwd, $db); 114 $mysqli = new mysqli($host, $user); [all …]
|
/PHP-8.4/ext/odbc/tests/ |
H A D | odbc_connect_001.phpt | 19 $dsn = str_replace(";uid={$user};pwd={$pass}", '', $dsn); 22 $conn = odbc_connect($dsn, $user, $pass); 26 echo "dsn with correct user / incorrect user / correct password\n"; 27 $conn = odbc_connect("{$dsn};uid={$user}", 'hoge', $pass); 32 $conn = odbc_connect("{$dsn};PWD={$pass}", $user, 'fuga'); 47 $conn = odbc_connect("{$dsn};Uid={$user};pwD={$pass}"); 52 dsn without credentials / correct user / correct password 55 dsn with correct user / incorrect user / correct password 58 dsn with correct password / correct user / incorrect password 64 dsn with correct credentials / null user / null password [all …]
|
/PHP-8.4/ext/pdo_odbc/tests/ |
H A D | basic_connection.phpt | 19 $user = getenv('PDO_ODBC_TEST_USER'); 22 $dsn = str_replace(";uid={$user};pwd={$password}", '', $dsnWithCredentials); 24 echo "dsn without credentials / correct user / correct password\n"; 33 echo "dsn with credentials / no user / no password\n"; 42 echo "dsn with correct user / incorrect user / correct password\n"; 51 echo "dsn with correct password / correct user / incorrect password\n"; 70 dsn without credentials / correct user / correct password 73 dsn with credentials / no user / no password 76 dsn with correct user / incorrect user / correct password 79 dsn with correct password / correct user / incorrect password [all …]
|
/PHP-8.4/ext/opcache/tests/ |
H A D | phi_remove_002.phpt | 11 function func($blogname, $user = '' ) { 12 if (! is_object( $user ) || ( is_object($user) && ( $user->login != $blogname )) ) { 16 $result = array('user' => $user);
|
/PHP-8.4/Zend/tests/ |
H A D | get_defined_functions_basic.phpt | 37 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.4/tests/output/ |
H A D | ob_implicit_flush_basic_002.phpt | 2 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.4/ext/reflection/tests/ |
H A D | bug33389.phpt | 25 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 D | ReflectionClass_toString_002.phpt | 29 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 D | gh9470.phpt | 25 Method [ <user, inherits A> public method publicMethod ] { 28 Method [ <user, inherits A> protected method protectedMethod ] { 31 Method [ <user, inherits A> private method privateMethod ] { 34 Method [ <user, inherits A> public method publicMethod ] { 37 Method [ <user, inherits A> protected method protectedMethod ] { 40 Method [ <user, inherits A> private method privateMethod ] {
|
H A D | ReflectionClass_toString_003.phpt | 29 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.4/ext/xml/ |
H A D | compat.c | 40 XML_Parser parser = (XML_Parser) user; in start_element_handler() 76 XML_Parser parser = (XML_Parser) user; in start_element_handler_ns() 235 XML_Parser parser = (XML_Parser) user; in cdata_handler() 250 XML_Parser parser = (XML_Parser) user; in pi_handler() 272 XML_Parser parser = (XML_Parser) user; in unparsed_entity_decl_handler() 284 XML_Parser parser = (XML_Parser) user; in notation_decl_handler() 309 XML_Parser parser = (XML_Parser) user; in comment_handler() 335 XML_Parser parser = (XML_Parser) user; in external_entity_ref_handler() 350 XML_Parser parser = (XML_Parser) user; in get_entity() 473 parser->user = user; in XML_SetUserData() [all …]
|
/PHP-8.4/ext/xsl/tests/ |
H A D | bug69168.phpt | 8 <allusers><user><uid>bob</uid></user><user><uid>joe</uid></user></allusers> 14 <xsl:for-each select="user"> 41 /allusers/user[1]/uid = boba<br/>/allusers/user[2]/uid = joea<br/> 42 string(21) "/allusers/user[1]/uid"
|
/PHP-8.4/ext/standard/tests/file/windows_acls/ |
H A D | common.inc | 27 $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.4/ext/session/tests/user_session_module/ |
H A D | session_set_save_handler_class_014.phpt | 2 Test session_set_save_handler() : calling default handler when save_handler=user 4 session.save_handler=user 13 echo "*** Testing session_set_save_handler() : calling default handler when save_handler=user ***\n… 22 Fatal error: PHP Startup: Session save handler "user" cannot be set by ini_set() in Unknown on line… 23 *** Testing session_set_save_handler() : calling default handler when save_handler=user ***
|