Home
last modified time | relevance | path

Searched refs:connection (Results 1 – 25 of 167) sorted by relevance

1234567

/php-src/ext/pgsql/
H A Dpgsql.stub.php472 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 Dpgsql_arginfo.h42 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 Ddeprecated_implicit_default_link.phpt89 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 Dbug65119.phpt16 $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 D27large_object_oid.phpt35 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 Dconnect_after_close.phpt2 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 D28large_object_import_oid.phpt35 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 Dconnection_reuse.phpt2 Reusing connection with same connection string
H A Dbug72197.phpt36 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 Dno_link_open.phpt16 Deprecated: pg_dbname(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d
17 No PostgreSQL connection opened yet
H A Dclose_default_link.phpt2 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 Dbug67983.phpt14 $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 Dbug79375.phpt148 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 Dmysqli_pconn_limits.phpt23 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 Dmysqli_pconn_kill.phpt2 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 Dbug73462.phpt13 /* Initial persistent connection */
20 /* Failed connection to invalid host */
28 /* Re-use persistent connection */
/php-src/ext/standard/tests/http/
H A Dbug65634.phpt11 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 Ddba.c298 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()
787 dba_connection *connection; in php_dba_open() local
887 if (!connection->info->fp) { in php_dba_open()
911 if (connection->info->fp != connection->info->lock.fp) { in php_dba_open()
914 connection->info->fp = NULL; in php_dba_open()
916 connection->info->fd = -1; in php_dba_open()
[all …]
/php-src/ext/pdo_mysql/tests/
H A Dbug79375.phpt71 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 Dmail_windows_skipif.inc6 $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 Dbug78192.phpt7 $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 Dpersistent_connect.phpt14 * 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/ext/standard/tests/network/
H A Dshutdown.phpt41 /* 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 Dodbc_setoption_002.phpt2 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
/php-src/ext/ftp/tests/
H A Dserver.inc53 if (!$s) die("Error accepting a new connection\n");
195 fputs($s, "150 File status okay; about to open data connection\r\n");
200 fputs($s, "425 Can't open data connection\r\n");
239 fputs($s, "425 Can't open data connection\r\n");
279 fputs($s, "425 Can't open data connection\r\n");
335 fputs($s, "425 Can't open data connection\r\n");
343 //the data connection is handled in another forked process
457 fputs($s, "425 Can't open data connection\r\n");
476 fputs($s, "425 Error establishing connection\r\n");
490 fputs($s, "425 Error establishing connection\r\n");
[all …]

Completed in 174 milliseconds

1234567