/PHP-8.4/ext/session/ |
H A D | session.c | 179 if (PS(id) && PS(mod)->s_destroy(&PS(mod_data), PS(id)) == FAILURE) { in php_session_destroy() 400 PS(mod)->s_gc(&PS(mod_data), PS(gc_maxlifetime), &num); in php_session_gc() 419 if (PS(mod)->s_open(&PS(mod_data), PS(save_path), PS(session_name)) == FAILURE in php_session_initialize() 434 PS(id) = PS(mod)->s_create_sid(&PS(mod_data)); in php_session_initialize() 451 PS(id) = PS(mod)->s_create_sid(&PS(mod_data)); in php_session_initialize() 467 if (PS(mod)->s_read(&PS(mod_data), PS(id), &val, PS(gc_maxlifetime)) == FAILURE) { in php_session_initialize() 523 ret = PS(mod)->s_write(&PS(mod_data), PS(id), val, PS(gc_maxlifetime)); in php_session_save_current_state() 608 PS(default_mod) = PS(mod); in PHP_INI_MH() 2376 ret = PS(mod)->s_write(&PS(mod_data), PS(id), data, PS(gc_maxlifetime)); in PHP_FUNCTION() 2406 PS(id) = PS(mod)->s_create_sid(&PS(mod_data)); in PHP_FUNCTION() [all …]
|
H A D | mod_user_class.c | 25 if (PS(default_mod) == NULL) { \ 32 if (!PS(mod_user_is_open)) { \ 51 ret = PS(default_mod)->s_open(&PS(mod_data), save_path, session_name); in PHP_METHOD() 58 PS(mod_user_is_open) = 1; in PHP_METHOD() 76 PS(mod_user_is_open) = 0; in PHP_METHOD() 79 ret = PS(default_mod)->s_close(&PS(mod_data)); in PHP_METHOD() 101 if (PS(default_mod)->s_read(&PS(mod_data), key, &val, PS(gc_maxlifetime)) == FAILURE) { in PHP_METHOD() 120 RETURN_BOOL(SUCCESS == PS(default_mod)->s_write(&PS(mod_data), key, val, PS(gc_maxlifetime))); in PHP_METHOD() 135 RETURN_BOOL(SUCCESS == PS(default_mod)->s_destroy(&PS(mod_data), key)); in PHP_METHOD() 151 if (PS(default_mod)->s_gc(&PS(mod_data), maxlifetime, &nrdels) == FAILURE) { in PHP_METHOD() [all …]
|
H A D | mod_user.c | 29 if (PS(in_save_handler)) { in ps_call_handler() 30 PS(in_save_handler) = 0; in ps_call_handler() 35 PS(in_save_handler) = 1; in ps_call_handler() 42 PS(in_save_handler) = 0; in ps_call_handler() 48 #define PSF(a) PS(mod_user_names).ps_##a 96 PS(session_status) = php_session_none; in PS_OPEN_FUNC() 103 PS(mod_user_implemented) = 1; in PS_OPEN_FUNC() 118 if (!PS(mod_user_implemented)) { in PS_CLOSE_FUNC() 129 PS(mod_user_implemented) = 0; in PS_CLOSE_FUNC()
|
H A D | mod_mm.c | 267 size_t save_path_len = strlen(PS(save_path)); in PHP_MINIT_FUNCTION() 287 memcpy(ps_mm_path, PS(save_path), save_path_len); in PHP_MINIT_FUNCTION() 350 if (PS(use_strict_mode) in PS_READ_FUNC() 354 efree(PS(id)); in PS_READ_FUNC() 355 PS(id) = NULL; in PS_READ_FUNC() 357 PS(id) = PS(mod)->s_create_sid((void **)&data); in PS_READ_FUNC() 358 if (!PS(id)) { in PS_READ_FUNC() 361 if (PS(use_cookies)) { in PS_READ_FUNC() 362 PS(send_cookie) = 1; in PS_READ_FUNC() 365 PS(session_status) = php_session_active; in PS_READ_FUNC() [all …]
|
H A D | php_session.h | 214 #define PS(v) ZEND_TSRMG(ps_globals_id, php_ps_globals *, v) macro 219 #define PS(v) (ps_globals.v) 283 if (!Z_ISNULL(PS(http_session_vars))) { \ 284 zend_hash_del(Z_ARRVAL(PS(http_session_vars)), name); \ 295 HashTable *_ht = Z_ARRVAL_P(Z_REFVAL(PS(http_session_vars))); \
|
/PHP-8.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_fetch_non_select.phpt | 20 // Emulated PS first 37 printf("[004] Emulated PS, DESCRIBE returned no results\n"); 55 printf("[007] Emulated PS, SHOW returned no results\n"); 57 printf("[008] Emulated PS, SHOW data seems wrong, dumping %s\n", 61 printf("[009] Emulated PS, EXPLAIN returned no results\n"); 68 printf("[010] Emulated PS, EXPLAIN returned no results\n"); 70 // And now native PS 116 printf("[016] Native PS (native support: %s), SHOW failed, %s\n", 137 …printf("Native PS (native support: %s) and emulated PS returned different data for SHOW: %s vs. %s… 162 …printf("Native PS (native support: %s) and emulated PS returned different data for EXPLAIN: %s vs.… [all …]
|
H A D | pdo_mysql_stmt_columncount.phpt | 18 // The only purpose of this is to check if emulated and native PS 21 printf("Testing emulated PS...\n"); 39 printf("Testing native PS...\n"); 66 Testing emulated PS... 69 Testing native PS...
|
H A D | pdo_mysql_prepare_emulated_placeholder_everywhere.phpt | 2 MySQL PDO->prepare(), emulated PS, anonymous placeholder 17 // native PS 36 // now the same with emulated PS 37 printf("now the same with emulated PS\n"); 72 now the same with emulated PS
|
H A D | pdo_mysql_stmt_errorcode.phpt | 17 printf("Testing emulated PS...\n"); 33 printf("Testing native PS...\n"); 51 Testing emulated PS... 55 Testing native PS...
|
H A D | pdo_mysql_prepare_native_placeholder_everywhere.phpt | 2 MySQL PDO->prepare(),native PS, anonymous placeholder 32 // now the same with native PS 33 printf("now the same with native PS\n"); 70 now the same with native PS
|
H A D | pdo_mysql_stmt_nextrowset.phpt | 62 // Emulated PS 63 printf("Emulated PS...\n"); 77 // Native PS 78 printf("Native PS...\n"); 108 Emulated PS... 213 Native PS...
|
H A D | pdo_mysql_stmt_variable_columncount.phpt | 39 … // What will happen if a PS returns a different number of result set column upon each execution? 43 // Emulates PS first 56 // Native PS 74 // Emulates PS first 87 // Native PS
|
H A D | pdo_mysql_prepare_emulated_anonymous.phpt | 2 MySQL PDO->prepare(), emulated PS, anonymous placeholder 34 // now the same with native PS 35 printf("now the same with native PS\n"); 75 now the same with native PS
|
H A D | pdo_mysql_stmt_errorinfo.phpt | 18 printf("Testing emulated PS...\n"); 41 printf("Testing native PS...\n"); 71 Testing emulated PS... 109 Testing native PS...
|
H A D | pdo_mysql_stmt_bindparam.phpt | 65 /* NOTE: you cannot use PDO::query() with unbuffered, native PS - see extra test */ 86 printf("Emulated PS...\n"); 100 printf("Native PS...\n"); 129 Emulated PS... 146 Native PS...
|
H A D | pdo_mysql_stmt_blobfromstream.phpt | 123 printf("Emulated PS...\n"); 129 printf("Native PS...\n"); 148 Emulated PS... 149 Native PS...
|
H A D | pdo_mysql_prepare_native_named_placeholder.phpt | 2 MySQL PDO->prepare(), native PS, named placeholder 27 // do not work with MySQL native PS, but lets see what happens! 41 // Now the same with emulated PS.
|
H A D | pdo_mysql_multi_stmt_nextrowset.phpt | 34 // Using native PS for proc, since emulated fails. 35 printf("Native PS...\n"); 82 Native PS...
|
/PHP-8.4/ext/mysqli/tests/ |
H A D | mysqli_get_client_stats_ps.phpt | 2 mysqli_get_client_stats() - PS 41 printf("[003] Unbuffered rows got increased after buffered PS, expecting %d got %d.\n",
|
H A D | bug55653.phpt | 2 Bug #55653 PS crash with libmysql when binding same variable as param and out
|
H A D | mysqli_explain_metadata.phpt | 101 printf("[017] Cannot fetch result from PS [%d] %s\n", 133 printf("[023] PS mysqli_stmt_get_result() metadata seems wrong, dumping\n"); 140 printf("[023] PS mysqli_stmt_get_result() metadata seems wrong, dumping\n");
|
H A D | bug_mysql_49406.phpt | 85 printf("[008] PS and non-PS results differ, dumping data\n");
|
H A D | bug45289.phpt | 2 Bug #45289 (Bogus store_result on PS)
|
H A D | bug42378.phpt | 54 printf("[%03d] Cannot create PS, [%d] %s\n", 67 printf("[%03d] Cannot prepare PS, [%d] %s\n", 74 printf("[%03d] Cannot execute PS, [%d] %s\n",
|
/PHP-8.4/ext/session/tests/user_session_module/ |
H A D | gh9584.phpt | 2 GH-9584: PS(mod_user_class_name) must not leak into next request
|