Home
last modified time | relevance | path

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

123

/php-src/ext/session/tests/user_session_module/
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_variation2.phpt2 Test session_set_save_handler() function : variation
10 echo "*** Testing session_set_save_handler() : variation ***\n";
17 var_dump(session_set_save_handler("open", "close", "read", "write", "destroy", "gc"));
28 *** Testing session_set_save_handler() : variation ***
31 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
33 Warning: session_set_save_handler(): Session save handler cannot be changed when a session is activ…
H A Dsession_set_save_handler_variation3.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"));
29 *** Testing session_set_save_handler() : variation ***
34 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
36 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_type_error.phpt2 Test session_set_save_handler() function: interface wrong
15 …$ret = session_set_save_handler($exceptionCallback, $validCallback, $validCallback, $validCallback…
22 …$ret = session_set_save_handler($deprecatedCallback, $validCallback, $validCallback, $validCallbac…
29 …$ret = session_set_save_handler($validCallback, $exceptionCallback, $validCallback, $validCallback…
36 …$ret = session_set_save_handler($validCallback, $deprecatedCallback, $exceptionCallback, $validCal…
46 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
49 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
55 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
58 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
H A Dsession_set_save_handler_class_004.phpt2 Test session_set_save_handler(): default SessionHandler 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_class_014.phpt2 Test session_set_save_handler() : calling default handler when save_handler=user
13 echo "*** Testing session_set_save_handler() : calling default handler when save_handler=user ***\n…
17 session_set_save_handler($handler);
23 *** Testing session_set_save_handler() : calling default handler when save_handler=user ***
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";
23 session_set_save_handler(new MySessionHandler());
33 session_set_save_handler(new MySessionHandler());
41 *** Testing session_set_save_handler() : error functionality ***
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 ***
32 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
H A Dsession_set_save_handler_type_error2.phpt2 Test session_set_save_handler() function: Incorrect bool returns
15 …$ret = session_set_save_handler($nullCallback, $validCallback, $validCallback, $validCallback, $va…
21 …$ret = session_set_save_handler($oneCallback, $validCallback, $validCallback, $validCallback, $val…
31 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
34 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
H A Dsession_set_save_handler_variation4.phpt2 Test session_set_save_handler() function: GC variation
16 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");
52 *** Testing session_set_save_handler() : variation ***
54 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
71 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
H A Dsession_set_save_handler_class_003.phpt2 Test session_set_save_handler(): Session 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 Dbug31454.phpt2 Bug #31454 (session_set_save_handler crashes PHP when supplied non-existent object ref)
9 session_set_save_handler(
24 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
25 session_set_save_handler(): Argument #1 ($open) must be a valid callback, first array member is not…
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";
23 session_set_save_handler("open", "close", "read", "write", "destroy", "gc", "create_sid", "validate…
38 session_set_save_handler("open", "close", "read", "write", "destroy", "gc", "create_sid", "validate…
46 session_set_save_handler("open", "close", "read", "write", "destroy", "gc", "create_sid", "validate…
64 *** Testing session_set_save_handler() : test write short circuit ***
66 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
90 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
105 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
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_iface_002.phpt2 Test session_set_save_handler() function: interface wrong
10 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 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
86 session_set_save_handler(): Argument #1 ($open) must be of type SessionHandlerInterface, MySession2…
H A Dsession_set_save_handler_iface_001.phpt2 Test session_set_save_handler() function: interface
10 echo "*** Testing session_set_save_handler() function: interface ***\n";
50 session_set_save_handler(array($handler, 'open'), array($handler, 'close'),
67 session_set_save_handler($handler);
84 *** Testing session_set_save_handler() function: interface ***
86 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
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 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 ***
90 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
H A Dsession_set_save_handler_closures.phpt2 Test session_set_save_handler() function : using closures as callbacks
14 echo "*** Testing session_set_save_handler() : using closures as callbacks ***\n";
25 session_set_save_handler($open_closure, $close_closure, $read_closure, $write_closure, $destroy_clo…
39 session_set_save_handler($open_closure, $close_closure, $read_closure, $write_closure, $destroy_clo…
53 *** Testing session_set_save_handler() : using closures as callbacks ***
65 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
88 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
H A Dsession_set_save_handler_variation5.phpt2 Test session_set_save_handler() function: GC variation
23 echo "*** Testing session_set_save_handler() : variation ***\n";
31 var_dump(session_set_save_handler("open", "close", "read", "write", "destroy", "noisy_gc", "create_…
40 var_dump(session_set_save_handler("open", "close", "read", "write", "destroy", "noisy_gc", "create_…
58 *** Testing session_set_save_handler() : variation ***
62 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
78 Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object impleme…
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 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. ***

Completed in 23 milliseconds

123