/php-src/ext/session/tests/ |
H A D | session_name_variation1.phpt | 2 Test session_name() function : variation 16 echo "*** Testing session_name() : variation ***\n"; 18 var_dump(session_name("\t")); 20 var_dump(session_name()); 22 var_dump(session_name()); 24 var_dump(session_name("")); 26 var_dump(session_name()); 28 var_dump(session_name()); 34 *** Testing session_name() : variation *** 43 Warning: session_name(): session.name "" cannot be numeric or empty in %s on line %d
|
H A D | session_name_variation2.phpt | 2 Test session_name() function : variation 14 echo "*** Testing session_name() : variation ***\n"; 16 var_dump(session_name()); 17 var_dump(session_name("blah")); 19 var_dump(session_name()); 21 var_dump(session_name()); 27 *** Testing session_name() : variation ***
|
H A D | session_name_basic.phpt | 2 Test session_name() function : error functionality 16 echo "*** Testing session_name() : error functionality ***\n"; 18 var_dump(session_name()); 19 var_dump(session_name("blah")); 21 var_dump(session_name()); 23 var_dump(session_name()); 29 *** Testing session_name() : error functionality ***
|
H A D | session_name_variation_null_byte.phpt | 2 Test session_name() function : null byte in session name 11 var_dump(session_name("AB\0CD")); 20 session_name(): Argument #1 ($name) must not contain any null bytes
|
H A D | bug66481.phpt | 2 Bug #66481: Calls to session_name() segfault when session.name is null. 14 var_dump(session_name("foo")); 15 var_dump(session_name("bar"));
|
H A D | bug80774.phpt | 2 Bug #80774 (session_name() problem with backslash) 7 session_name("foo\\bar");
|
H A D | bug74514.phpt | 21 var_dump(session_name('foo')); 22 var_dump(session_name());
|
H A D | bug66827.phpt | 9 $_COOKIE[session_name()] = array();
|
H A D | gh9200.phpt | 10 session_name("foo");
|
H A D | session_module_name_variation2.phpt | 15 public function open($save_path, $session_name): bool { return false; }
|
H A D | session_module_name_variation3.phpt | 19 public function open($save_path, $session_name): bool {
|
/php-src/ext/session/ |
H A D | mod_user_class.c | 40 char *save_path = NULL, *session_name = NULL; in PHP_METHOD() local 44 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &save_path, &save_path_len, &session_name, &sessi… in PHP_METHOD() 51 ret = PS(default_mod)->s_open(&PS(mod_data), save_path, session_name); in PHP_METHOD()
|
H A D | session.c | 1394 spprintf(&session_cookie, 0, "Set-Cookie: %s=", PS(session_name)); in php_session_remove_cookie() 1443 smart_str_appendl(&ncookie, PS(session_name), strlen(PS(session_name))); in php_session_send_cookie() 1569 smart_str_appends(&var, PS(session_name)); in php_session_reset_id() 1597 (ppid = zend_hash_str_find(Z_ARRVAL_P(data), PS(session_name), strlen(PS(session_name))))) { in php_session_reset_id() 1605 sname = zend_string_init(PS(session_name), strlen(PS(session_name)), 0); in php_session_reset_id() 1608 …php_url_scanner_add_session_var(PS(session_name), strlen(PS(session_name)), ZSTR_VAL(PS(id)), ZSTR… in php_session_reset_id() 1655 lensess = strlen(PS(session_name)); in php_session_start() 1969 PHP_FUNCTION(session_name) in PHP_FUNCTION() argument 1988 RETVAL_STRING(PS(session_name)); in PHP_FUNCTION() 2947 ps_globals->session_name = NULL; in PHP_GINIT_FUNCTION() [all …]
|
/php-src/ext/session/tests/user_session_module/ |
H A D | basic_set_save_handler_test.phpt | 18 function open($save_path, $session_name): bool 20 print "OPEN: $session_name\n";
|
H A D | bug61728.phpt | 12 function open ($save_path, $session_name): bool {
|
H A D | bug60634.phpt | 15 function open($save_path, $session_name): bool {
|
H A D | basic_set_save_handler_test02.phpt | 18 function open($save_path, $session_name): bool 20 print "OPEN: $session_name\n";
|
H A D | save_handler.inc | 23 function open($save_path, $session_name) { 25 // string $session_name - Session ID cookie name. Default: session.name 29 $name = $session_name; 30 echo "Open [{$session_save_path},{$session_name}]\n";
|
H A D | bug79091.phpt | 24 public function open($save_path, $session_name): bool
|
H A D | bug60634_error_5.phpt | 15 function open($save_path, $session_name): bool {
|
H A D | session_set_save_handler_error2.phpt | 15 function open($save_path, $session_name): bool { return true; }
|
H A D | session_set_save_handler_error3.phpt | 15 function open($save_path, $session_name) {
|
H A D | bug60634_error_2.phpt | 15 function open($save_path, $session_name): bool {
|
H A D | bug60634_error_1.phpt | 15 function open($save_path, $session_name): bool {
|
H A D | bug60634_error_4.phpt | 14 function open($save_path, $session_name) {
|