Home
last modified time | relevance | path

Searched refs:session_name (Results 1 – 25 of 26) sorted by relevance

12

/PHP-7.0/ext/session/tests/
H A Dsession_name_variation1.phpt2 Test session_name() function : variation
22 var_dump(session_name("\0"));
24 var_dump(session_name());
26 var_dump(session_name());
28 var_dump(session_name("\t"));
30 var_dump(session_name());
32 var_dump(session_name());
34 var_dump(session_name(""));
36 var_dump(session_name());
38 var_dump(session_name());
[all …]
H A Dsession_name_variation2.phpt2 Test session_name() function : variation
13 * Prototype : string session_name([string $name])
18 echo "*** Testing session_name() : variation ***\n";
20 var_dump(session_name());
21 var_dump(session_name("blah"));
23 var_dump(session_name());
25 var_dump(session_name());
31 *** Testing session_name() : variation ***
H A Dsession_name_basic.phpt2 Test session_name() function : error functionality
15 * Prototype : string session_name([string $name])
20 echo "*** Testing session_name() : error functionality ***\n";
22 var_dump(session_name());
23 var_dump(session_name("blah"));
25 var_dump(session_name());
27 var_dump(session_name());
33 *** Testing session_name() : error functionality ***
H A Dsession_name_error.phpt2 Test session_name() function : error functionality
14 * Prototype : string session_name([string $name])
19 echo "*** Testing session_name() : error functionality ***\n";
89 var_dump($input, session_name($input));
98 *** Testing session_name() : error functionality ***
102 Warning: session_name(): session.name cannot be a numeric or empty '0' in %s on line %d
108 Warning: session_name(): session.name cannot be a numeric or empty '1' in %s on line %d
156 Warning: session_name(): session.name cannot be a numeric or empty '' in %s on line %d
162 Warning: session_name(): session.name cannot be a numeric or empty '' in %s on line %d
174 Warning: session_name(): session.name cannot be a numeric or empty '' in %s on line %d
[all …]
H A Dbug66481.phpt2 Bug #66481: Calls to session_name() segfault when session.name is null.
10 var_dump(session_name("foo"));
11 var_dump(session_name("bar"));
H A Dsave_handler.inc4 function open($save_path, $session_name) {
7 $name = $session_name;
8 echo "Open [${session_save_path},${session_name}]\n";
H A Dbug66827.phpt8 $_COOKIE[session_name()] = array();
H A Dbug61728.phpt11 function open ($save_path, $session_name) {
H A D004.phpt17 function open($save_path, $session_name)
19 print "OPEN: $session_name\n";
H A D024.phpt18 function open($save_path, $session_name)
20 print "OPEN: $session_name\n";
H A Dsession_module_name_variation2.phpt18 function open($save_path, $session_name) { }
H A Dbug60634.phpt14 function open($save_path, $session_name) {
H A Dbug60634_error_4.phpt14 function open($save_path, $session_name) {
H A Dbug60634_error_5.phpt14 function open($save_path, $session_name) {
H A Dbug60634_error_2.phpt14 function open($save_path, $session_name) {
H A Dbug60634_error_3.phpt14 function open($save_path, $session_name) {
H A Dbug60634_error_1.phpt14 function open($save_path, $session_name) {
H A D025.phpt19 function open($save_path, $session_name)
21 print "OPEN: $session_name\n";
H A D005.phpt18 function open($save_path, $session_name)
20 print "OPEN: $session_name\n";
H A Dsession_set_save_handler_error2.phpt20 function open($save_path, $session_name) { return true; }
H A Dsession_module_name_variation3.phpt21 function open($save_path, $session_name) {
H A Dsession_set_save_handler_error3.phpt21 function open($save_path, $session_name) {
/PHP-7.0/ext/session/
H A Dmod_user_class.c41 char *save_path = NULL, *session_name = NULL; in PHP_METHOD() local
46 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &save_path, &save_path_len, &session_name, &sessi… in PHP_METHOD()
51 RETVAL_BOOL(SUCCESS == PS(default_mod)->s_open(&PS(mod_data), save_path, session_name)); in PHP_METHOD()
H A Dsession.c1372 e_session_name = php_url_encode(PS(session_name), strlen(PS(session_name)));
1421 e_session_name = php_url_encode(PS(session_name), strlen(PS(session_name)));
1543 smart_str_appends(&var, PS(session_name));
1567 …_ARRAY && (ppid = zend_hash_str_find(Z_ARRVAL_P(data), PS(session_name), strlen(PS(session_name)))…
1575 …php_url_scanner_add_var(PS(session_name), strlen(PS(session_name)), ZSTR_VAL(PS(id)), ZSTR_LEN(PS(…
1621 lensess = strlen(PS(session_name));
1805 static PHP_FUNCTION(session_name)
1814 RETVAL_STRING(PS(session_name));
2527 ZEND_ARG_INFO(0, session_name)
2714 ps_globals->session_name = NULL;
[all …]
H A Dphp_session.h37 #define PS_OPEN_ARGS void **mod_data, const char *save_path, const char *session_name
151 char *session_name; member

Completed in 70 milliseconds

12