Home
last modified time | relevance | path

Searched refs:persistent (Results 76 – 100 of 138) sorted by relevance

123456

/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_pconn_twice.phpt2 Calling connect() on an open persistent connection to create a new persistent connection
H A Dmysqli_real_connect.phpt119 printf("[022] Usage of mysqli.default_host=p:%s (persistent) failed\n", $host) ;
121 … if (!$res = mysqli_query($link, "SELECT 'mysqli.default_host (persistent)' AS 'testing'"))
124 if ($tmp['testing'] !== 'mysqli.default_host (persistent)') {
H A Dmysqli_connect.phpt123 printf("[021] Usage of mysqli.default_host (persistent) failed\n") ;
125 … if (!$res = mysqli_query($link, "SELECT 'mysqli.default_host (persistent)' AS 'testing'"))
128 if ($tmp['testing'] !== 'mysqli.default_host (persistent)') {
H A Dmysqli_pconn_disabled.phpt25 …printf("[002] Cannot set user variable to check if we got the same persistent connection, [%d] %s\…
/PHP-8.0/ext/pdo_mysql/tests/
H A Dbug63176.phpt2 Bug #63176 (Segmentation fault when instantiate 2 persistent PDO to the same db server)
H A Dpdo_mysql_pconnect.phpt78 …printf("[006] Looks like the persistent and the non persistent connection are using the same link?…
/PHP-8.0/ext/pdo_sqlite/tests/
H A Dbug43831.phpt2 Bug #43831 ($this gets mangled when extending PDO with persistent connection)
/PHP-8.0/ext/ffi/
H A Dffi.stub.php15 …public static function new(FFI\CType|string $type, bool $owned = true, bool $persistent = false): … argument
H A Dffi.c2217 ffi->persistent = 0; in zend_ffi_new()
2346 if (ffi->persistent) { in zend_ffi_free_obj()
3202 FFI_G(persistent) = preload; in zend_ffi_load()
3213 FFI_G(persistent) = 0; in zend_ffi_load()
3386 ffi->persistent = 1; in zend_ffi_load()
3397 FFI_G(persistent) = 0; in zend_ffi_load()
3413 FFI_G(persistent) = 0; in zend_ffi_load()
3465 ffi->persistent = 1; in ZEND_METHOD()
3648 zend_bool persistent = 0; in ZEND_METHOD() local
3657 Z_PARAM_BOOL(persistent) in ZEND_METHOD()
[all …]
/PHP-8.0/ext/oci8/tests/
H A Dconn_attr_3.phpt74 resource(%d) of type (oci8 persistent connection)
78 resource(%d) of type (oci8 persistent connection)
H A Dlob_017.phpt2 returning multiple lobs (using persistent connection)
H A Dconnect_scope_try5.phpt81 resource(%d) of type (oci8 persistent connection)
H A Dconnect_scope_try6.phpt81 resource(%d) of type (oci8 persistent connection)
H A Dbug42134.phpt45 // Test collection creation error for persistent connection
H A Dpassword.phpt2 oci_password_change() for non-persistent connections
/PHP-8.0/sapi/cli/
H A Dphp_cli_server.c339 smart_str_appendl_ex(buffer, "HTTP", 4, persistent); in append_http_status_line()
340 smart_str_appendc_ex(buffer, '/', persistent); in append_http_status_line()
342 smart_str_appendc_ex(buffer, '.', persistent); in append_http_status_line()
344 smart_str_appendc_ex(buffer, ' ', persistent); in append_http_status_line()
346 smart_str_appendc_ex(buffer, ' ', persistent); in append_http_status_line()
348 smart_str_appendl_ex(buffer, "\r\n", 2, persistent); in append_http_status_line()
357 smart_str_appends_ex(buffer, "Host: ", persistent); in append_essential_headers()
358 smart_str_appends_ex(buffer, val, persistent); in append_essential_headers()
359 smart_str_appends_ex(buffer, "\r\n", persistent); in append_essential_headers()
364 smart_str_appends_ex(buffer, "Date: ", persistent); in append_essential_headers()
[all …]
/PHP-8.0/Zend/
H A Dzend_constants.c485 zend_bool persistent = (ZEND_CONSTANT_FLAGS(c) & CONST_PERSISTENT) != 0; in zend_register_constant() local
493 lowercase_name = zend_string_init(ZSTR_VAL(c->name), ZSTR_LEN(c->name), persistent); in zend_register_constant()
503 || (!persistent && zend_get_special_const(ZSTR_VAL(name), ZSTR_LEN(name))) in zend_register_constant()
508 if (!persistent) { in zend_register_constant()
H A Dzend_ts_hash.c60 …d zend_ts_hash_init(TsHashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent) in zend_ts_hash_init() argument
67 _zend_hash_init(TS_HASH(ht), nSize, pDestructor, persistent); in zend_ts_hash_init()
/PHP-8.0/ext/dba/libinifile/
H A Dinifile.c80 inifile * inifile_alloc(php_stream *fp, int readonly, int persistent) in inifile_alloc() argument
91 dba = pemalloc(sizeof(inifile), persistent); in inifile_alloc()
100 void inifile_free(inifile *dba, int persistent) in inifile_free() argument
105 pefree(dba, persistent); in inifile_free()
/PHP-8.0/main/streams/
H A Dstreams.c1467 result = zend_string_alloc(maxlen, persistent); in _php_stream_copy_to_mem()
1484 result = zend_string_truncate(result, len, persistent); in _php_stream_copy_to_mem()
1505 result = zend_string_alloc(max_len, persistent); in _php_stream_copy_to_mem()
1512 result = zend_string_extend(result, max_len + step, persistent); in _php_stream_copy_to_mem()
1520 result = zend_string_truncate(result, len, persistent); in _php_stream_copy_to_mem()
2057 int persistent = options & STREAM_OPEN_PERSISTENT; local
2124 pefree(stream->orig_path, persistent);
2126 copy_of_path = pestrdup(path, persistent);
2147 pefree(newstream->orig_path, persistent);
2149 newstream->orig_path = pestrdup(path, persistent);
[all …]
/PHP-8.0/ext/mysqli/
H A Dmysqli_nonapi.c59 zend_bool persistent = FALSE, ssl = FALSE; local
150 mysql->persistent = persistent = TRUE;
237 if (persistent && MyG(max_persistent) != -1 &&
248 if (!(mysql->mysql = mysqlnd_init(MYSQLND_CLIENT_KNOWS_RSET_COPY_DATA, persistent))) {
343 if (persistent && (new_connection || is_real_connect)) {
366 mysql->persistent = FALSE;
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_auth.c101 mnd_pefree(conn->authentication_plugin_data.s, conn->persistent); in mysqlnd_run_authentication()
105 …>authentication_plugin_data.s = mnd_pemalloc(conn->authentication_plugin_data.l, conn->persistent); in mysqlnd_run_authentication()
497 tmp = mnd_pestrndup(user, user_len, conn->persistent); in mysqlnd_auth_change_user()
499 mnd_pefree(conn->username.s, conn->persistent); in mysqlnd_auth_change_user()
503 tmp = mnd_pestrdup(passwd, conn->persistent); in mysqlnd_auth_change_user()
505 mnd_pefree(conn->password.s, conn->persistent); in mysqlnd_auth_change_user()
/PHP-8.0/ext/odbc/
H A Dphp_odbc_includes.h189 int persistent; member
/PHP-8.0/ext/oci8/
H A Doci8.c861 void php_oci_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent, int exclusive) in php_oci_do_connect() argument
882 DTRACE_OCI8_CONNECT_ENTRY(username, dbname, charset, session_mode, persistent, exclusive); in php_oci_do_connect()
890 …nt) password_len, NULL, 0, dbname, (int) dbname_len, charset, session_mode, persistent, exclusive); in php_oci_do_connect()
912 …char *dbname, int dbname_len, char *charset, zend_long session_mode, int persistent, int exclusive) in php_oci_do_connect_ex() argument
953 persistent = 0; in php_oci_do_connect_ex()
1030 if (persistent) { in php_oci_do_connect_ex()
1042 if (persistent && ((zvp = zend_hash_find(&EG(persistent_list), hashed_details.s))) != NULL) { in php_oci_do_connect_ex()
1050 } else if (!persistent && ((zvp = zend_hash_find(&EG(regular_list), hashed_details.s)) != NULL)) { in php_oci_do_connect_ex()
1153 if (persistent){ in php_oci_do_connect_ex()
1176 if (persistent) { in php_oci_do_connect_ex()
[all …]
/PHP-8.0/
H A Dphp.ini-development1117 ; Allow or prevent persistent links.
1118 ; http://php.net/odbc.allow-persistent
1122 ; http://php.net/odbc.check-persistent
1126 ; http://php.net/odbc.max-persistent
1129 ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1147 ; http://php.net/mysqli.max-persistent
1154 ; Allow or prevent persistent links.
1236 ; http://php.net/oci8.max-persistent
1281 ; Allow or prevent persistent links.
1291 ; http://php.net/pgsql.max-persistent
[all …]

Completed in 95 milliseconds

123456