/php-src/ext/mysqli/tests/ |
H A D | mysqli_change_user_new.phpt | 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)); 23 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 24 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 25 $host, $user, $db, $port, $socket); 28 …if (false !== ($tmp = @mysqli_change_user($link, $user . '_unknown_really', $passwd . 'non_empty',…
|
H A D | mysqli_pconn_conn_multiple.phpt | 19 if (!$link = my_mysqli_connect($phost, $user, $passwd, $db, $port, $socket)) 21 $phost, $user, $db, $port, $socket); 44 $link = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 70 if (!$link = mysqli_connect($phost, $user, $passwd, $db, $port, $socket)) 72 $phost, $user, $db, $port, $socket); 74 if (true !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 79 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 81 $host, $user, $db, $port, $socket); 104 $link = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 130 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) [all …]
|
H A D | mysqli_connect_error.phpt | 22 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 23 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 24 $host, $user, $db, $port, $socket); 31 …if (false !== @my_mysqli_connect($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $por… 32 …printf("[003] Connect to the server should fail using host=%s, user=%s, passwd=***non_empty, dbnam… 33 $host, $user . 'unknown_really', $db, $port, $socket);
|
H A D | mysqli_real_connect_pconn.phpt | 21 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 23 $host, $user, $db, $port, $socket); 30 …o the server using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, socket=%s\n", gettyp… 32 // Run the following tests without an anoynmous MySQL user and use a password for the test user! 34 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port)) { 43 if (!mysqli_real_connect($link, $host, $user, $passwd, $db)) { 52 if (!mysqli_real_connect($link, $host, $user)) { 60 ini_set('mysqli.default_user', $user); 79 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 65536)) 98 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 128)) [all …]
|
H A D | mysqli_real_connect.phpt | 19 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 21 $host, $user, $db, $port, $socket); 28 …o the server using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, socket=%s\n", gettyp… 30 // Run the following tests without an anoynmous MySQL user and use a password for the test user! 32 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port)) { 41 if (!mysqli_real_connect($link, $host, $user, $passwd, $db)) { 50 if (!mysqli_real_connect($link, $host, $user)) { 58 ini_set('mysqli.default_user', $user); 77 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 65536)) 96 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 128)) [all …]
|
H A D | mysqli_connect_twice.phpt | 13 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 $link = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 43 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket))) 61 if (true !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 64 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 65 …printf("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 66 $host, $user, $db, $port, $socket); [all …]
|
H A D | bug74547.phpt | 15 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 16 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 17 $host, $user, $db, $port, $socket); 19 var_dump(mysqli_change_user($link, $user, $passwd, NULL));
|
H A D | 001.phpt | 19 $link = my_mysqli_connect($host, $user, $passwd, "", $port, $socket); 25 $test.= (my_mysqli_real_connect($link, $host, $user, $passwd, "", $port, $socket) ) 31 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 37 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 46 if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 55 …$test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, MYSQLI_CLIENT_…
|
H A D | mysqli_get_connection_stats_off.phpt | 17 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 18 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 19 $host, $user, $db, $port, $socket); 28 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 29 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 30 $host, $user, $db, $port, $socket);
|
H A D | mysqli_connect_errno.phpt | 22 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 23 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 24 $host, $user, $db, $port, $socket); 31 …$link = @my_mysqli_connect($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port, $so… 33 …printf("[004] Connect to the server should fail using host=%s, user=%s, passwd=***non_empty, dbnam… 34 … $host, $user . 'unknown_really', $db, $port, $socket, gettype($link), var_export($link, true));
|
H A D | mysqli_pconn_reuse.phpt | 7 die("skip TODO - we need to add a user level way to check if CHANGE_USER gets called by pconnect"); 20 if (!$link1 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 21 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 22 $host, $user, $db, $port, $socket, mysqli_connect_errno(), mysqli_connect_error()); 25 …printf("[002] Cannot set user variable to check if we got the same persistent connection, [%d] %s\… 28 if (!$link2 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 29 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 30 $host, $user, $db, $port, $socket, mysqli_connect_errno(), mysqli_connect_error()); 50 …printf("[006] Cannot set user variable to check if we got the same persistent connection, [%d] %s\… 63 if (!$link2 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { [all …]
|
H A D | bug29311.phpt | 16 global $host, $user, $passwd, $db, $port, $socket; 17 parent::__construct($host, $user, $passwd, $db, $port, $socket); 25 global $host, $user, $passwd, $db, $port, $socket; 26 $this->connect($host, $user, $passwd, $db, $port, $socket); 37 $foo[2] = new mysql3($host, $user, $passwd, $db, $port, $socket);
|
H A D | mysqli_pconn_limits.phpt | 25 if (!$link2 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 38 if (!$plink = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 39 …printf("[004] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p… 40 $host, $user, $db, $port, $socket, 51 if (!$plink2 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 52 …printf("[006] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p… 53 $host, $user, $db, $port, $socket, 65 if (!my_mysqli_real_connect($plink3, $host, $user, $passwd, $db, $port, $socket)) 66 …printf("[008] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p… 67 $host, $user, $db, $port, $socket,
|
H A D | mysqli_pconn_disabled.phpt | 9 die("skip TODO - we need to add a user level way to check if CHANGE_USER gets called by pconnect"); 20 if (!$link1 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 22 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 23 $host, $user, $db, $port, $socket, mysqli_connect_errno(), mysqli_connect_error()); 26 …printf("[002] Cannot set user variable to check if we got the same persistent connection, [%d] %s\… 29 if (!$link2 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 31 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 32 $host, $user, $db, $port, $socket, mysqli_connect_errno(), mysqli_connect_error());
|
/php-src/ext/standard/tests/file/ |
H A D | basename.phpt | 60 array("~/home/user/bar"), 61 array("~/home/user/bar", ""), 62 array("~/home/user/bar", ' '), 63 array("~/home/user/bar.tar", ".tar"), 64 array("~/home/user/bar.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", " "), 72 array("hostname:/home/user/bar.tar", "home"), [all …]
|
/php-src/ext/reflection/tests/ |
H A D | traits001.phpt | 26 Trait [ <user> trait Foo ] { 42 Method [ <user> public method someMethod ] { 47 Class [ <user> class Bar ] { 63 Method [ <user> public method someOtherMethod ] { 67 Method [ <user> public method someMethod ] {
|
H A D | ReflectionMethod_basic2.phpt | 55 string(%d) "Method [ <user, inherits TestClass> public method foo ] { 65 string(%d) "Method [ <user> static public method stat ] { 75 string(%d) "Method [ <user> private method priv ] { 85 string(%d) "Method [ <user> protected method prot ] { 95 string(%d) "Method [ <user, inherits TestClass> protected method prot ] { 105 string(%d) "Method [ <user> abstract public method int ] { 129 string(%d) "Method [ <user> public method __destruct ] {
|
H A D | bug45765.phpt | 30 Object of class [ <user> class foo extends foo2 ] { 50 Method [ <user> public method test ] { 58 Method [ <user> public method test2 ] { 66 Method [ <user> public method test3 ] { 74 Method [ <user> public method test4 ] {
|
/php-src/ext/ldap/tests/ |
H A D | ldap_mod_replace_basic.phpt | 14 $link = ldap_connect_and_bind($uri, $user, $passwd, $protocol_version); 18 "description" => "user X" 25 ldap_search($link, "$base", "(description=user X)", array("description")) 33 $link = ldap_connect_and_bind($uri, $user, $passwd, $protocol_version); 49 string(6) "user X"
|
H A D | ldap_mod_del_basic.phpt | 14 $link = ldap_connect_and_bind($uri, $user, $passwd, $protocol_version); 18 "description" => "user A" 25 ldap_search($link, "$base", "(description=user A)") 33 $link = ldap_connect_and_bind($uri, $user, $passwd, $protocol_version);
|
/php-src/tests/output/ |
H A D | flush_basic_001.phpt | 12 // Ensure user buffers are not flushed by flush() 14 echo "Inside a user buffer\n"; 18 echo "Outside of any user buffers\n"; 24 Outside of any user buffers
|
/php-src/ext/pdo_dblib/tests/ |
H A D | config.inc | 24 $user = getenv('PDO_DBLIB_TEST_USER'); 26 $user = 'php'; 35 return [$dsn, $user, $pass]; 44 [$dsn, $user, $pass] = getCredentials(); 47 $db = new $class($dsn, $user, $pass, $attributes); 59 [$dsn, $user, $pass] = getCredentials(); 62 $db = PDO::connect($dsn, $user, $pass);
|
/php-src/ext/odbc/tests/ |
H A D | config.inc | 4 $user = getenv("ODBC_TEST_USER"); 10 if (false === $user) { 11 $user = 'root';
|
/php-src/ext/session/tests/user_session_module/ |
H A D | error_when_setting_save_handler_ini_setting_in_runtime.phpt | 2 Error when setting session.save_handler to user via ini_set 7 ini_set('session.save_handler', 'user'); 10 Warning: ini_set(): Session save handler "user" cannot be set by ini_set() in %s on line %d
|
/php-src/ext/xsl/tests/ |
H A D | xsltprocessor_transformToURI.phpt | 11 <user> 13 </user> 14 <user> 16 </user> 28 <xsl:for-each select="user">
|