/php-src/ext/pgsql/ |
H A D | pgsql.stub.php | 472 function pg_connect_poll(PgSql\Connection $connection): int {} argument 474 function pg_close(?PgSql\Connection $connection = null): true {} argument 494 function pg_tty(?PgSql\Connection $connection = null): string {} argument 509 function pg_jit(?PgSql\Connection $connection = null): array {} argument 517 function pg_ping(?PgSql\Connection $connection = null): bool {} argument 721 function pg_lo_unlink($connection, $oid = UNKNOWN): bool {} argument 729 function pg_lounlink($connection, $oid = UNKNOWN): bool {} argument 891 function pg_cancel_query(PgSql\Connection $connection): bool {} argument 915 function pg_get_pid(PgSql\Connection $connection): int {} argument 921 function pg_socket(PgSql\Connection $connection) {} argument [all …]
|
H A D | pgsql_arginfo.h | 42 ZEND_ARG_INFO(0, connection) 51 ZEND_ARG_INFO(0, connection) 58 ZEND_ARG_INFO(0, connection) 64 ZEND_ARG_INFO(0, connection) 70 ZEND_ARG_INFO(0, connection) 211 ZEND_ARG_INFO(0, connection) 218 ZEND_ARG_INFO(0, connection) 225 ZEND_ARG_INFO(0, connection) 260 ZEND_ARG_INFO(0, connection) 268 ZEND_ARG_INFO(0, connection) [all …]
|
/php-src/ext/pgsql/tests/ |
H A D | deprecated_implicit_default_link.phpt | 89 Deprecated: pg_execute(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 93 Deprecated: pg_lo_open(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 97 Deprecated: pg_dbname(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 101 Deprecated: pg_options(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 103 Deprecated: pg_port(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 105 Deprecated: pg_tty(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 107 Deprecated: pg_host(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 113 Deprecated: pg_ping(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 115 Deprecated: pg_query(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 117 Deprecated: pg_exec(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d [all …]
|
H A D | bug65119.phpt | 16 $connection = pg_pconnect($conn_str, PGSQL_CONNECT_FORCE_NEW); 17 pg_query($connection, "BEGIN"); 18 pg_query($connection, "CREATE TABLE {$table_name} (i INTEGER)"); 19 pg_copy_from($connection, $table_name, $values, "\t", "NULL"); 20 pg_query($connection, "ROLLBACK");
|
H A D | 27large_object_oid.phpt | 35 echo "create LO using default connection\n"; 48 create LO using default connection 50 Deprecated: pg_exec(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 52 Deprecated: pg_lo_create(): Automatic fetching of PostgreSQL connection is deprecated in %s on line… 54 Deprecated: pg_lo_unlink(): Automatic fetching of PostgreSQL connection is deprecated in %s on line… 56 Deprecated: pg_exec(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d
|
H A D | connect_after_close.phpt | 2 Reopen connection after it was closed 21 Deprecated: pg_close(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 24 Deprecated: pg_close(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d
|
H A D | 28large_object_import_oid.phpt | 35 echo "import LO using default connection\n"; 90 import LO using default connection 92 Deprecated: pg_exec(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 94 Deprecated: pg_lo_unlink(): Automatic fetching of PostgreSQL connection is deprecated in %s on line… 96 Deprecated: pg_exec(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 98 Deprecated: pg_lo_import(): Automatic fetching of PostgreSQL connection is deprecated in %s on line… 102 Deprecated: pg_lo_import(): Automatic fetching of PostgreSQL connection is deprecated in %s on line… 106 Deprecated: pg_lo_import(): Automatic fetching of PostgreSQL connection is deprecated in %s on line…
|
H A D | connection_reuse.phpt | 2 Reusing connection with same connection string
|
H A D | bug72197.phpt | 36 pg_lo_create(): Argument #1 ($connection) must be of type PgSql\Connection when the connection is p… 39 Deprecated: pg_lo_create(): Automatic fetching of PostgreSQL connection is deprecated in %s on line…
|
H A D | no_link_open.phpt | 16 Deprecated: pg_dbname(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 17 No PostgreSQL connection opened yet
|
H A D | close_default_link.phpt | 2 pg_close() default link after connection variable has been dropped 17 Deprecated: pg_close(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d
|
/php-src/ext/mysqli/tests/ |
H A D | bug67983.phpt | 14 $connection = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 16 mysqli_options($connection, MYSQLI_OPT_INT_AND_FLOAT_NATIVE, true); 18 mysqli_set_charset($connection, 'utf8'); 19 mysqli_query($connection, 'DROP TABLE IF EXISTS test'); 20 mysqli_query($connection, 'CREATE TABLE test (id BIT(8))'); 21 mysqli_query($connection, 'INSERT INTO test VALUES (0), (1), (42)'); 23 $res = mysqli_query($connection, 'SELECT * FROM test');
|
H A D | bug79375.phpt | 148 Running query on first connection 149 Got %d for first connection 150 Running query on second connection 153 Running query on first connection 154 Got %d for first connection 158 Running query on first connection 159 Got %d for first connection 163 Running query on first connection 164 Got %d for first connection 168 Running query on first connection [all …]
|
H A D | mysqli_pconn_limits.phpt | 23 printf("Regular connection 1 - '%s'\n", $row['_desc']); 26 printf("[002] Cannot open second regular connection, [%d] %s\n", 35 printf("Regular connection 2 - '%s'\n", $row['_desc']); 49 printf("Persistent connection 1 - '%s'\n", $row['_desc']); 62 printf("Persistent connection 2 - '%s'\n", $row['_desc']); 76 printf("Persistent connection 3 - '%s'\n", $row['_desc']); 90 Regular connection 1 - 'works..' 91 Regular connection 2 - 'works...' 92 Persistent connection 1 - 'works...' 93 Persistent connection 2 - 'works...' [all …]
|
H A D | mysqli_pconn_kill.phpt | 2 Killing a persistent connection. 42 // Kill the persistent connection - don't use mysqli_kill, mysqlnd will catch that... 44 …printf("[006] Cannot kill persistent connection, [%d] %s\n", mysqli_errno($link), mysqli_error($li… 58 …printf("[008] Thread of the persistent connection should have been gone, [%d] %s\n", mysqli_errno(… 60 …printf("[009] Thread of the regular connection should be still there, [%d] %s\n", mysqli_errno($li… 62 // On PHP side this should do nothing. PHP should not try to close the connection or something. 73 …printf("[012] New persistent connection cannot execute queries, [%d] %s\n", @mysqli_errno($plink),… 86 …printf("[014] New regular connection cannot execute queries, [%d] %s\n", mysqli_errno($link), mysq…
|
H A D | bug73462.phpt | 13 /* Initial persistent connection */ 20 /* Failed connection to invalid host */ 28 /* Re-use persistent connection */
|
/php-src/ext/standard/tests/http/ |
H A D | bug65634.phpt | 11 function do_test($version, $connection) { 18 if ($connection) { 19 $options['http']['header'] = "Connection: $connection"; 37 echo "HTTP/1.0, connection: close:\n"; 40 echo "HTTP/1.0, connection: keep-alive:\n"; 46 echo "HTTP/1.1, connection: close:\n"; 49 echo "HTTP/1.1, connection: keep-alive:\n"; 59 HTTP/1.0, connection: close: 64 HTTP/1.0, connection: keep-alive: 74 HTTP/1.1, connection: close: [all …]
|
/php-src/ext/dba/ |
H A D | dba.c | 298 dba_close_info(connection->info); in dba_close_connection() 301 connection->info = NULL; in dba_close_connection() 303 if (connection->hash) { in dba_close_connection() 306 connection->hash = NULL; in dba_close_connection() 351 if (connection->info) { in dba_connection_free_obj() 778 dba_connection *connection; in php_dba_open() local 879 if (!connection->info->fp) { in php_dba_open() 903 if (connection->info->fp != connection->info->lock.fp) { in php_dba_open() 906 connection->info->fp = NULL; in php_dba_open() 908 connection->info->fd = -1; in php_dba_open() [all …]
|
/php-src/ext/pdo_mysql/tests/ |
H A D | bug79375.phpt | 71 testNormalQuery($db, 'first connection'); 87 testUnbuffered($db, 'first connection'); 101 Running query on first connection 102 Got 1 for first connection 103 Running query on second connection 106 Running query on first connection 107 Got 1 for first connection 108 Running query on second connection 111 Running query on first connection 112 Got 1 for first connection [all …]
|
/php-src/ext/standard/tests/mail/ |
H A D | mail_windows_skipif.inc | 6 $connection = @fsockopen('localhost', 25); 7 if ($connection === false) { 11 $connection = @fsockopen('localhost', 143); 12 if ($connection === false) {
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | bug78192.phpt | 7 $connection = new \PDO('sqlite::memory:'); 8 $connection->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION); 9 $connection->query('CREATE TABLE user (id INTEGER PRIMARY KEY NOT NULL, name VARCHAR(255) NOT NULL)… 11 $stmt = $connection->prepare('INSERT INTO user (id, name) VALUES(:id, :name)'); 17 $stmt = $connection->prepare('SELECT * FROM user WHERE id = :id'); 21 $connection->query('ALTER TABLE user ADD new_col VARCHAR(255)');
|
/php-src/ext/pdo_firebird/tests/ |
H A D | persistent_connect.phpt | 14 * Omit the case where the connection is broken when it checks liveness and 35 echo "{$times} connection ID: {$connId}\n"; 45 First connection ID: %d 46 Second connection ID: %d
|
/php-src/Zend/tests/lazy_objects/rfc/ |
H A D | rfc_example_009.phpt | 21 $connection = new Connection(); 27 $reflector->resetAsLazyGhost($connection, function () { 32 $connection = null; // Does not call destructor (object is not initialized)
|
/php-src/ext/standard/tests/network/ |
H A D | shutdown.phpt | 41 /* Accept connection 1 */ 44 die('Unable to accept connection'); 54 /* Accept connection 2 */ 57 die('Unable to accept connection');
|
/php-src/ext/odbc/tests/ |
H A D | odbc_setoption_002.phpt | 2 odbc_setoption(): Test for odbc_setoption() with persistent connection 23 Warning: odbc_setoption(): Unable to set option for persistent connection in %s on line %d
|