Home
last modified time | relevance | path

Searched refs:session_set_save_handler (Results 1 – 25 of 65) sorted by relevance

123

/PHP-8.1/ext/session/tests/
H A Dsession_set_save_handler_error4.phpt2 Test session_set_save_handler() function : error functionality
12 echo "*** Testing session_set_save_handler() : error functionality ***\n";
17session_set_save_handler("callback", "callback", "callback", "callback", "callback", "callback");
23 session_set_save_handler("callback", "echo", "callback", "callback", "callback", "callback");
29 session_set_save_handler("callback", "callback", "echo", "callback", "callback", "callback");
35 session_set_save_handler("callback", "callback", "callback", "echo", "callback", "callback");
41 session_set_save_handler("callback", "callback", "callback", "callback", "echo", "callback");
47 session_set_save_handler("callback", "callback", "callback", "callback", "callback", "echo");
52 session_set_save_handler("callback", "callback", "callback", "callback", "callback", "callback");
58 *** Testing session_set_save_handler() : error functionality ***
[all …]
H A Dsession_set_save_handler_error.phpt2 Test session_set_save_handler() function : error functionality
12 echo "*** Testing session_set_save_handler() : error functionality ***\n";
84 session_set_save_handler($input, NULL, NULL, NULL, NULL, NULL);
96 *** Testing session_set_save_handler() : error functionality ***
99 session_set_save_handler(): Argument #1 ($open) must be a valid callback, function "0" not found or…
102 session_set_save_handler(): Argument #1 ($open) must be a valid callback, function "1" not found or…
126 session_set_save_handler(): Argument #1 ($open) must be a valid callback, function "" not found or …
129 session_set_save_handler(): Argument #1 ($open) must be a valid callback, function "" not found or …
135 session_set_save_handler(): Argument #1 ($open) must be a valid callback, function "" not found or …
141 session_set_save_handler(): Argument #1 ($open) must be a valid callback, function "" not found or …
[all …]
H A Dsession_set_save_handler_variation2.phpt2 Test session_set_save_handler() function : variation
12 echo "*** Testing session_set_save_handler() : variation ***\n";
19 var_dump(session_set_save_handler("open", "close", "read", "write", "destroy", "gc"));
26 *** Testing session_set_save_handler() : variation ***
29 Warning: session_set_save_handler(): Session save handler cannot be changed when a session is activ…
H A Dsession_set_save_handler_class_015.phpt2 Test session_set_save_handler() : register session handler but don't start
15 echo "*** Testing session_set_save_handler() : register session handler but don't start ***\n";
17 session_set_save_handler(new SessionHandler);
20 *** Testing session_set_save_handler() : register session handler but don't start ***
H A Dsession_set_save_handler_variation3.phpt2 Test session_set_save_handler() function : variation
14 echo "*** Testing session_set_save_handler() : variation ***\n";
21 var_dump(session_set_save_handler("open", "close", "read", "write", "destroy", "gc"));
28 *** Testing session_set_save_handler() : variation ***
33 Warning: session_set_save_handler(): Session save handler cannot be changed when a session is activ…
H A Dsession_set_save_handler_class_004.phpt2 Test session_set_save_handler() : default object
15 echo "*** Testing session_set_save_handler() : default object ***\n";
17 session_set_save_handler(new SessionHandler);
34 *** Testing session_set_save_handler() : default object ***
H A Dsession_set_save_handler_error2.phpt2 Test session_set_save_handler() function : error functionality
14 echo "*** Testing session_set_save_handler() : error functionality ***\n";
23 session_set_save_handler("open", "close", "read", "write", "destroy", "gc");
33 session_set_save_handler("open", "close", "read", "write", "destroy", "gc");
41 *** Testing session_set_save_handler() : error functionality ***
H A Dsession_set_save_handler_class_014.phpt2 Test session_set_save_handler() : calling default handler when save_handler=user
17 echo "*** Testing session_set_save_handler() : calling default handler when save_handler=user ***\n…
21 session_set_save_handler($handler);
27 *** Testing session_set_save_handler() : calling default handler when save_handler=user ***
H A Dsession_set_save_handler_class_003.phpt2 Test session_set_save_handler() : inheritance
15 echo "*** Testing session_set_save_handler() : inheritance ***\n";
37 session_set_save_handler($handler);
53 session_set_save_handler($handler);
64 *** Testing session_set_save_handler() : inheritance ***
H A Dsession_set_save_handler_class_006.phpt2 Test session_set_save_handler() : using objects in close
15 echo "*** Testing session_set_save_handler() : using objects in close ***\n";
36 session_set_save_handler($handler);
42 *** Testing session_set_save_handler() : using objects in close ***
H A Dsession_set_save_handler_error3.phpt2 Test session_set_save_handler() function : error functionality
16 echo "*** Testing session_set_save_handler() : error functionality ***\n";
27 session_set_save_handler("open", "close", "read", "write", "destroy", "gc");
32 *** Testing session_set_save_handler() : error functionality ***
H A Dsession_set_save_handler_class_007.phpt2 Test session_set_save_handler() : manual shutdown, reopen
15 echo "*** Testing session_set_save_handler() : manual shutdown, reopen ***\n";
43 session_set_save_handler($handler);
52 session_set_save_handler($handler);
61 *** Testing session_set_save_handler() : manual shutdown, reopen ***
H A Dsession_set_save_handler_variation4.phpt2 Test session_set_save_handler() function : variation
19 echo "*** Testing session_set_save_handler() : variation ***\n";
31 session_set_save_handler("open", "close", "read", "write", "destroy", "noisy_gc");
41 session_set_save_handler("open", "close", "read", "write", "destroy", "noisy_gc");
51 *** Testing session_set_save_handler() : variation ***
H A Dbug31454.phpt2 Bug #31454 (session_set_save_handler crashes PHP when supplied non-existent object ref)
11 session_set_save_handler(
26 session_set_save_handler(): Argument #1 ($open) must be a valid callback, function "Array" not foun…
H A Dsession_set_save_handler_iface_002.phpt2 Test session_set_save_handler() function: interface wrong
15 echo "*** Testing session_set_save_handler() function: interface wrong ***\n";
74 $ret = session_set_save_handler(array($handler, 'open'), array($handler, 'close'),
79 $ret = session_set_save_handler($handler);
87 *** Testing session_set_save_handler() function: interface wrong ***
89 session_set_save_handler(): Argument #1 ($open) must be of type SessionHandlerInterface, MySession2…
H A Dsession_set_save_handler_class_009.phpt2 Test session_set_save_handler() : implicit shutdown
15 echo "*** Testing session_set_save_handler() : implicit shutdown ***\n";
43 session_set_save_handler($handler);
53 *** Testing session_set_save_handler() : implicit shutdown ***
H A Dsession_set_save_handler_type_error.phpt2 Test session_set_save_handler() function: interface wrong
20 …$ret = session_set_save_handler($exceptionCallback, $validCallback, $validCallback, $validCallback…
27 …$ret = session_set_save_handler($deprecatedCallback, $validCallback, $validCallback, $validCallbac…
34 …$ret = session_set_save_handler($validCallback, $exceptionCallback, $validCallback, $validCallback…
41 …$ret = session_set_save_handler($validCallback, $deprecatedCallback, $exceptionCallback, $validCal…
H A Dsession_set_save_handler_class_008.phpt2 Test session_set_save_handler() : manual shutdown
15 echo "*** Testing session_set_save_handler() : manual shutdown ***\n";
43 session_set_save_handler($handler);
55 *** Testing session_set_save_handler() : manual shutdown ***
H A Dsession_set_save_handler_class_010.phpt2 Test session_set_save_handler() : manual shutdown function
15 echo "*** Testing session_set_save_handler() : manual shutdown function ***\n";
43 session_set_save_handler($handler, false);
53 *** Testing session_set_save_handler() : manual shutdown function ***
H A Dbug78624.phpt2 Test session_set_save_handler() : session_gc() returns the number of deleted records.
16 echo "*** Test session_set_save_handler() : session_gc() returns the number of deleted records. ***…
46 session_set_save_handler($handler);
53 *** Test session_set_save_handler() : session_gc() returns the number of deleted records. ***
H A Dsession_set_save_handler_class_005.phpt2 Test session_set_save_handler() : incomplete implementation
16 echo "*** Testing session_set_save_handler() : incomplete implementation ***\n";
31 session_set_save_handler($handler);
40 *** Testing session_set_save_handler() : incomplete implementation ***
H A Dsession_set_save_handler_class_002.phpt2 Test session_set_save_handler() : full handler implementation
15 echo "*** Testing session_set_save_handler() : full handler implementation ***\n";
56 session_set_save_handler(array($handler, 'open'), array($handler, 'close'),
73 session_set_save_handler($handler);
90 *** Testing session_set_save_handler() : full handler implementation ***
H A Dsession_set_save_handler_iface_001.phpt2 Test session_set_save_handler() function: interface
15 echo "*** Testing session_set_save_handler() function: interface ***\n";
55 session_set_save_handler(array($handler, 'open'), array($handler, 'close'),
72 session_set_save_handler($handler);
89 *** Testing session_set_save_handler() function: interface ***
H A Dsession_set_save_handler_variation1.phpt2 Test session_set_save_handler() function : variation
12 echo "*** Testing session_set_save_handler() : variation ***\n";
25 *** Testing session_set_save_handler() : variation ***
H A Dsession_set_save_handler_class_011.phpt2 Test session_set_save_handler() : shutdown failure
15 echo "*** Testing session_set_save_handler() : shutdown failure ***\n";
48 session_set_save_handler($handler, false);
57 *** Testing session_set_save_handler() : shutdown failure ***

Completed in 24 milliseconds

123