Home
last modified time | relevance | path

Searched refs:username (Results 1 – 25 of 46) sorted by relevance

12

/php-src/ext/posix/tests/
H A Dposix_getpwnam_basic_01.phpt12 $username = $user['name'];
13 $info = posix_getpwnam($username);
15 var_dump($username == $info['name']);
H A Dposix_getgrgid.phpt23 foreach ($grp['members'] as $idx => $username) {
27 if (!is_string($username)) {
/php-src/ext/spl/tests/ArrayObject/
H A Dproperty_hooks.phpt30 public string $username {
33 $this->username = strtolower($value);
50 var_dump($a['username']);
56 $a['username'] = 'whatever_hooks_do_not_matter';
62 var_dump($o->username);
77 Warning: Undefined array key "username" in %s on line %d
/php-src/build/
H A Dshtool551 username=''
553 username="`(id -un) 2>/dev/null`"
554 if [ ".$username" = . ]; then
559 if [ ".$username" = . ]; then
560 username="$LOGNAME"
561 if [ ".$username" = . ]; then
562 username="$USER"
563 if [ ".$username" = . ]; then
597 … userid=`(ypmatch "${username}" passwd; nismatch "${username}" passwd) 2>/dev/null | \
629 … groupid=`(ypmatch "${username}" passwd; nismatch "${username}" passwd) 2>/dev/null | \
[all …]
/php-src/ext/pdo/tests/
H A Dsensitive_parameter.phpt8 new PDO('dsn', 'username', 'password');
16 #0 %s(%d): PDO->__construct('dsn', 'username', Object(SensitiveParameterValue))
/php-src/ext/snmp/tests/
H A Dsnmp3.phpt33 $username = $user_auth_prefix . 'MD5';
35 var_dump(snmp3_get($hostname, $username, 'authNoPriv', 'MD5', $auth_pass, '', '', array('.1.3.6.1.2…
37 var_dump(snmp3_getnext($hostname, $username, 'authNoPriv', 'MD5', $auth_pass, '', '', '.1.3.6.1.2.1…
40 $z = snmp3_walk($hostname, $username, 'authNoPriv', 'MD5', $auth_pass, '', '', '.1.3.6.1.2.1.1.1.0'…
46 $z = snmp3_real_walk($hostname, $username, 'authNoPriv', 'MD5', $auth_pass, '', '', '.1.3.6.1.2.1.1…
52 $z = snmp3_walk($hostname, $username, 'authNoPriv', 'MD5', $auth_pass, '', '', '.1.3.6.1.2.1.1', $t…
59 $z = snmp3_real_walk($hostname, $username, 'authNoPriv', 'MD5', $auth_pass, 'AES', '', '.1.3.6.1.2.…
/php-src/ext/standard/tests/url/
H A Dbug74780.phpt8 parse_url('//username@php.net/path?query=1:2')
33 string(8) "username"
/php-src/ext/pdo_sqlite/tests/
H A Dbug48773.phpt15 function __construct($dsn, $username, $password, $driver_options = array()) {
17 parent::__construct($dsn, $username, $password, $driver_options);
/php-src/ext/pdo_firebird/tests/
H A Dpayload_test.phpt17 $username = 'SYSDBA';
20 new PDO($dsn, $username, $password, [
H A Dbug_76448.phpt17 $username = 'SYSDBA';
20 $dbh = new PDO($dsn, $username, $password, [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]);
H A Dbug_76449.phpt17 $username = 'SYSDBA';
20 $dbh = new PDO($dsn, $username, $password, [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]);
H A Dbug_76450.phpt17 $username = 'SYSDBA';
20 $dbh = new PDO($dsn, $username, $password, [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]);
H A Dbug_76452.phpt18 $username = 'SYSDBA';
21 $dbh = new PDO($dsn, $username, $password, [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]);
/php-src/ext/opcache/tests/opt/
H A Dsccp_026.phpt19 var_dump($username);
39 0006 SEND_VAR CV1($username) 1
/php-src/sapi/cli/tests/
H A Dphp_cli_server_021.phpt18 Authorization: digest username="Mufasa", realm="testrealm@host.com", nonce="dcd98b7102dd2f0e8b11d0f…
37 string(242) "username="Mufasa", realm="testrealm@host.com", nonce="dcd98b7102dd2f0e8b11d0f600bfb0c0…
/php-src/ext/curl/tests/
H A Dcurl_multi_segfault.phpt14 $username = getenv('PHP_CURL_FTP_REMOTE_USER');
19 $url = "ftp://$username:$password@$host/" ;
H A Dcurl_ftp_pasv.phpt14 $username = getenv('PHP_CURL_FTP_REMOTE_USER');
19 $url = "ftp://$username:$password@$host/test.phpt" ;
/php-src/ext/mysqli/tests/
H A Dmysqli_connect_oo_defaults.phpt112 if (!$res = $mysqli->query("SELECT SUBSTRING_INDEX(USER(),'@',1) AS username"))
117 if ($tmp['username'] !== $user)
118 …intf("[011] Expecting string/%s, got %s/%s\n", $user, gettype($tmp['username']), $tmp['username']);
H A Dbug38003.phpt10 private function __construct($hostname, $username, $password, $database) {
/php-src/ext/pdo_odbc/
H A Dodbc_driver.c531 …bool use_uid_arg = dbh->username != NULL && !php_memnistr(dbh->data_source, "uid=", strlen("uid=")… in pdo_odbc_handle_factory()
548 …ld_quote_uid = !php_odbc_connstr_is_quoted(dbh->username) && php_odbc_connstr_should_quote(dbh->us… in pdo_odbc_handle_factory()
550 size_t estimated_length = php_odbc_connstr_estimate_quote_length(dbh->username); in pdo_odbc_handle_factory()
552 php_odbc_connstr_quote(uid, dbh->username, estimated_length); in pdo_odbc_handle_factory()
554 uid = dbh->username; in pdo_odbc_handle_factory()
604 …rc = SQLConnect(H->dbc, (SQLCHAR *) dbh->data_source, SQL_NTS, (SQLCHAR *) dbh->username, SQL_NTS,… in pdo_odbc_handle_factory()
/php-src/ext/pdo/
H A Dpdo_dbh.c308 char *username=NULL, *password=NULL; in php_pdo_internal_construct_driver() local
319 Z_PARAM_STRING_OR_NULL(username, usernamelen) in php_pdo_internal_construct_driver()
394 username ? username : "", in php_pdo_internal_construct_driver()
401 username ? username : "", in php_pdo_internal_construct_driver()
461 dbh->username = username ? pestrdup(username, is_persistent) : NULL; in php_pdo_internal_construct_driver()
469 if (!dbh->data_source || (username && !dbh->username) || (password && !dbh->password)) { in php_pdo_internal_construct_driver()
1487 if (dbh->username) { in dbh_free()
1488 pefree(dbh->username, dbh->is_persistent); in dbh_free()
H A Dpdo_dbh.stub.php167 …public function __construct(string $dsn, ?string $username = null, #[\SensitiveParameter] ?string … argument
171 ?string $username = null,
/php-src/ext/posix/
H A Dposix.stub.php423 function posix_getpwnam(string $username): array|false {} argument
451 function posix_initgroups(string $username, int $group_id): bool {} argument
/php-src/ext/mysqli/
H A Dmysqli.stub.php724 ?string $username = null, argument
747 …public function change_user(string $username, #[\SensitiveParameter] string $password, ?string $da… argument
774 ?string $username = null,
893 ?string $username = null,
1340 function mysqli_change_user(mysqli $mysql, string $username, #[\SensitiveParameter] string $passwor…
1354 ?string $username = null,
1532 ?string $username = null,
H A Dmysqli_nonapi.c53 char *hostname = NULL, *username=NULL, *passwd=NULL, *dbname=NULL, *socket=NULL, local
79 hostname = username = dbname = passwd = socket = NULL;
82 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s!s!s!s!l!s!", &hostname, &hostname_len, &username, &…
102 …&hostname, &hostname_len, &username, &username_len, &passwd, &passwd_len, &dbname, &dbname_len, &p…
125 if (!username){
126 username = MyG(default_user);
147 port, SAFE_STR(username), SAFE_STR(dbname),
171 if (!mysqli_change_user_silent(mysql->mysql, username, passwd, dbname, passwd_len)) {
251 if (mysqlnd_connect(mysql->mysql, hostname, username, passwd, passwd_len, dbname, dbname_len,

Completed in 392 milliseconds

12