Home
last modified time | relevance | path

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

123

/PHP-8.0/ext/session/tests/
H A Dsession_set_save_handler_error4.phpt2 Test session_set_save_handler() function : error functionality
10 echo "*** Testing session_set_save_handler() : error functionality ***\n";
15session_set_save_handler("callback", "callback", "callback", "callback", "callback", "callback");
21 session_set_save_handler("callback", "echo", "callback", "callback", "callback", "callback");
27 session_set_save_handler("callback", "callback", "echo", "callback", "callback", "callback");
33 session_set_save_handler("callback", "callback", "callback", "echo", "callback", "callback");
39 session_set_save_handler("callback", "callback", "callback", "callback", "echo", "callback");
45 session_set_save_handler("callback", "callback", "callback", "callback", "callback", "echo");
50 session_set_save_handler("callback", "callback", "callback", "callback", "callback", "callback");
56 *** Testing session_set_save_handler() : error functionality ***
[all …]
H A Dsession_set_save_handler_error.phpt2 Test session_set_save_handler() function : error functionality
10 echo "*** Testing session_set_save_handler() : error functionality ***\n";
82 session_set_save_handler($input, NULL, NULL, NULL, NULL, NULL);
94 *** Testing session_set_save_handler() : error functionality ***
97 session_set_save_handler(): Argument #1 ($open) must be a valid callback, function "0" not found or…
100 session_set_save_handler(): Argument #1 ($open) must be a valid callback, function "1" not found or…
124 session_set_save_handler(): Argument #1 ($open) must be a valid callback, function "" not found or …
127 session_set_save_handler(): Argument #1 ($open) must be a valid callback, function "" not found or …
133 session_set_save_handler(): Argument #1 ($open) must be a valid callback, function "" not found or …
139 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
10 echo "*** Testing session_set_save_handler() : variation ***\n";
16 var_dump(session_set_save_handler("open", "close", "read", "write", "destroy", "gc"));
22 *** Testing session_set_save_handler() : variation ***
25 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
13 echo "*** Testing session_set_save_handler() : register session handler but don't start ***\n";
15 session_set_save_handler(new SessionHandler);
18 *** 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
12 echo "*** Testing session_set_save_handler() : variation ***\n";
18 var_dump(session_set_save_handler("open", "close", "read", "write", "destroy", "gc"));
24 *** 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_004.phpt2 Test session_set_save_handler() : default object
13 echo "*** Testing session_set_save_handler() : default object ***\n";
15 session_set_save_handler(new SessionHandler);
32 *** Testing session_set_save_handler() : default object ***
H A Dsession_set_save_handler_error2.phpt2 Test session_set_save_handler() function : error functionality
12 echo "*** Testing session_set_save_handler() : error functionality ***\n";
21 session_set_save_handler("open", "close", "read", "write", "destroy", "gc");
31 session_set_save_handler("open", "close", "read", "write", "destroy", "gc");
39 *** 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
15 echo "*** Testing session_set_save_handler() : calling default handler when save_handler=user ***\n…
19 session_set_save_handler($handler);
25 *** 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
13 echo "*** Testing session_set_save_handler() : inheritance ***\n";
35 session_set_save_handler($handler);
51 session_set_save_handler($handler);
62 *** Testing session_set_save_handler() : inheritance ***
H A Dsession_set_save_handler_class_006.phpt2 Test session_set_save_handler() : using objects in close
13 echo "*** Testing session_set_save_handler() : using objects in close ***\n";
34 session_set_save_handler($handler);
40 *** 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
14 echo "*** Testing session_set_save_handler() : error functionality ***\n";
25 session_set_save_handler("open", "close", "read", "write", "destroy", "gc");
30 *** Testing session_set_save_handler() : error functionality ***
H A Dsession_set_save_handler_class_007.phpt2 Test session_set_save_handler() : manual shutdown, reopen
13 echo "*** Testing session_set_save_handler() : manual shutdown, reopen ***\n";
41 session_set_save_handler($handler);
50 session_set_save_handler($handler);
59 *** Testing session_set_save_handler() : manual shutdown, reopen ***
H A Dbug31454.phpt2 Bug #31454 (session_set_save_handler crashes PHP when supplied non-existent object ref)
9 session_set_save_handler(
24 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
13 echo "*** Testing session_set_save_handler() function: interface wrong ***\n";
69 $ret = session_set_save_handler(array($handler, 'open'), array($handler, 'close'),
74 $ret = session_set_save_handler($handler);
82 *** Testing session_set_save_handler() function: interface wrong ***
84 session_set_save_handler(): Argument #1 ($open) must be of type SessionHandlerInterface, MySession2…
H A Dsession_set_save_handler_variation4.phpt2 Test session_set_save_handler() function : variation
17 echo "*** Testing session_set_save_handler() : variation ***\n";
28 session_set_save_handler("open", "close", "read", "write", "destroy", "noisy_gc");
38 session_set_save_handler("open", "close", "read", "write", "destroy", "noisy_gc");
47 *** Testing session_set_save_handler() : variation ***
H A Dbug78624.phpt2 Test session_set_save_handler() : session_gc() returns the number of deleted records.
14 echo "*** Test session_set_save_handler() : session_gc() returns the number of deleted records. ***…
44 session_set_save_handler($handler);
51 *** 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
14 echo "*** Testing session_set_save_handler() : incomplete implementation ***\n";
29 session_set_save_handler($handler);
38 *** Testing session_set_save_handler() : incomplete implementation ***
H A Dsession_set_save_handler_class_008.phpt2 Test session_set_save_handler() : manual shutdown
13 echo "*** Testing session_set_save_handler() : manual shutdown ***\n";
41 session_set_save_handler($handler);
53 *** Testing session_set_save_handler() : manual shutdown ***
H A Dsession_set_save_handler_class_009.phpt2 Test session_set_save_handler() : implicit shutdown
13 echo "*** Testing session_set_save_handler() : implicit shutdown ***\n";
41 session_set_save_handler($handler);
51 *** Testing session_set_save_handler() : implicit shutdown ***
H A Dsession_set_save_handler_class_002.phpt2 Test session_set_save_handler() : full handler implementation
13 echo "*** Testing session_set_save_handler() : full handler implementation ***\n";
54 session_set_save_handler(array($handler, 'open'), array($handler, 'close'),
71 session_set_save_handler($handler);
88 *** Testing session_set_save_handler() : full handler implementation ***
H A Dsession_set_save_handler_iface_001.phpt2 Test session_set_save_handler() function: interface
13 echo "*** Testing session_set_save_handler() function: interface ***\n";
53 session_set_save_handler(array($handler, 'open'), array($handler, 'close'),
70 session_set_save_handler($handler);
87 *** Testing session_set_save_handler() function: interface ***
H A Dsession_set_save_handler_type_error.phpt2 Test session_set_save_handler() function: interface wrong
18 …$ret = session_set_save_handler($exceptionCallback, $validCallback, $validCallback, $validCallback…
25 …$ret = session_set_save_handler($deprecatedCallback, $validCallback, $validCallback, $validCallbac…
32 …$ret = session_set_save_handler($validCallback, $exceptionCallback, $validCallback, $validCallback…
39 …$ret = session_set_save_handler($validCallback, $deprecatedCallback, $exceptionCallback, $validCal…
H A Dsession_set_save_handler_class_010.phpt2 Test session_set_save_handler() : manual shutdown function
13 echo "*** Testing session_set_save_handler() : manual shutdown function ***\n";
41 session_set_save_handler($handler, false);
51 *** Testing session_set_save_handler() : manual shutdown function ***
H A Dsession_set_save_handler_class_011.phpt2 Test session_set_save_handler() : shutdown failure
13 echo "*** Testing session_set_save_handler() : shutdown failure ***\n";
46 session_set_save_handler($handler, false);
55 *** Testing session_set_save_handler() : shutdown failure ***
H A Dsession_set_save_handler_variation6.phpt2 Test session_set_save_handler() function : test lazy_write
17 echo "*** Testing session_set_save_handler() : test write short circuit ***\n";
22 session_set_save_handler("open", "close", "read", "write", "destroy", "gc", "create_sid", "validate…
37 session_set_save_handler("open", "close", "read", "write", "destroy", "gc", "create_sid", "validate…
45 session_set_save_handler("open", "close", "read", "write", "destroy", "gc", "create_sid", "validate…
58 *** Testing session_set_save_handler() : test write short circuit ***

Completed in 22 milliseconds

123