/PHP-7.2/ext/session/tests/ |
H A D | session_set_save_handler_error4.phpt | 2 Test session_set_save_handler() function : error functionality 16 echo "*** Testing session_set_save_handler() : error functionality ***\n"; 21 session_set_save_handler("callback", "echo", "callback", "callback", "callback", "callback"); 22 session_set_save_handler("callback", "callback", "echo", "callback", "callback", "callback"); 23 session_set_save_handler("callback", "callback", "callback", "echo", "callback", "callback"); 31 *** Testing session_set_save_handler() : error functionality *** 33 Warning: session_set_save_handler(): Argument 2 is not a valid callback in %s on line %d 35 Warning: session_set_save_handler(): Argument 3 is not a valid callback in %s on line %d 37 Warning: session_set_save_handler(): Argument 4 is not a valid callback in %s on line %d 39 Warning: session_set_save_handler(): Argument 5 is not a valid callback in %s on line %d [all …]
|
H A D | session_set_save_handler_error.phpt | 2 Test session_set_save_handler() function : error functionality 16 echo "*** Testing session_set_save_handler() : error functionality ***\n"; 87 var_dump(session_set_save_handler($input, NULL, NULL, NULL, NULL, NULL)); 96 *** Testing session_set_save_handler() : error functionality *** 100 Warning: session_set_save_handler(): Argument 1 is not a valid callback in %s on line %d 105 Warning: session_set_save_handler(): Argument 1 is not a valid callback in %s on line %d 110 Warning: session_set_save_handler(): Argument 1 is not a valid callback in %s on line %d 115 Warning: session_set_save_handler(): Argument 1 is not a valid callback in %s on line %d 120 Warning: session_set_save_handler(): Argument 1 is not a valid callback in %s on line %d 125 Warning: session_set_save_handler(): Argument 1 is not a valid callback in %s on line %d [all …]
|
H A D | session_set_save_handler_variation2.phpt | 2 Test session_set_save_handler() function : variation 11 …* Prototype : bool session_set_save_handler(callback $open, callback $close, callback $read, callb… 16 echo "*** Testing session_set_save_handler() : variation ***\n"; 22 var_dump(session_set_save_handler("open", "close", "read", "write", "destroy", "gc")); 28 *** Testing session_set_save_handler() : variation *** 31 Warning: session_set_save_handler(): Cannot change save handler when session is active in %s on lin…
|
H A D | session_set_save_handler_class_015.phpt | 2 Test session_set_save_handler() : register session handler but don't start 14 …* Prototype : bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_fun… 19 echo "*** Testing session_set_save_handler() : register session handler but don't start ***\n"; 21 session_set_save_handler(new SessionHandler); 23 *** Testing session_set_save_handler() : register session handler but don't start ***
|
H A D | session_set_save_handler_variation3.phpt | 2 Test session_set_save_handler() function : variation 13 …* Prototype : bool session_set_save_handler(callback $open, callback $close, callback $read, callb… 18 echo "*** Testing session_set_save_handler() : variation ***\n"; 24 var_dump(session_set_save_handler("open", "close", "read", "write", "destroy", "gc")); 30 *** Testing session_set_save_handler() : variation *** 35 Warning: session_set_save_handler(): Cannot change save handler when session is active in %s on lin…
|
H A D | session_set_save_handler_class_004.phpt | 2 Test session_set_save_handler() : default object 14 …* Prototype : bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_fun… 19 echo "*** Testing session_set_save_handler() : default object ***\n"; 21 session_set_save_handler(new SessionHandler); 37 *** Testing session_set_save_handler() : default object ***
|
H A D | session_set_save_handler_class_014.phpt | 2 Test session_set_save_handler() : calling default handler when save_handler=user 17 …* Prototype : bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_fun… 22 echo "*** Testing session_set_save_handler() : calling default handler when save_handler=user ***\n… 26 session_set_save_handler($handler); 31 *** Testing session_set_save_handler() : calling default handler when save_handler=user ***
|
H A D | session_set_save_handler_error2.phpt | 2 Test session_set_save_handler() function : error functionality 13 …* Prototype : bool session_set_save_handler(callback $open, callback $close, callback $read, callb… 18 echo "*** Testing session_set_save_handler() : error functionality ***\n"; 27 session_set_save_handler("open", "close", "read", "write", "destroy", "gc"); 37 session_set_save_handler("open", "close", "read", "write", "destroy", "gc"); 45 *** Testing session_set_save_handler() : error functionality ***
|
H A D | session_set_save_handler_class_003.phpt | 2 Test session_set_save_handler() : inheritance 14 …* Prototype : bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_fun… 19 echo "*** Testing session_set_save_handler() : inheritance ***\n"; 41 session_set_save_handler($handler); 57 session_set_save_handler($handler); 67 *** Testing session_set_save_handler() : inheritance ***
|
H A D | session_set_save_handler_class_006.phpt | 2 Test session_set_save_handler() : using objects in close 14 …* Prototype : bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_fun… 19 echo "*** Testing session_set_save_handler() : using objects in close ***\n"; 40 session_set_save_handler($handler); 46 *** Testing session_set_save_handler() : using objects in close ***
|
H A D | session_set_save_handler_iface_002.phpt | 2 Test session_set_save_handler() function: interface wrong 14 …* Prototype : bool session_set_save_handler(SessionHandlerInterface $handler [, bool $register_shu… 19 echo "*** Testing session_set_save_handler() function: interface wrong ***\n"; 75 $ret = session_set_save_handler(array($handler, 'open'), array($handler, 'close'), 79 $ret = session_set_save_handler($handler); 84 *** Testing session_set_save_handler() function: interface wrong *** 87 Warning: session_set_save_handler() expects parameter 1 to be SessionHandlerInterface, object given…
|
H A D | session_set_save_handler_error3.phpt | 2 Test session_set_save_handler() function : error functionality 15 …* Prototype : bool session_set_save_handler(callback $open, callback $close, callback $read, callb… 20 echo "*** Testing session_set_save_handler() : error functionality ***\n"; 31 session_set_save_handler("open", "close", "read", "write", "destroy", "gc"); 36 *** Testing session_set_save_handler() : error functionality ***
|
H A D | session_set_save_handler_class_007.phpt | 2 Test session_set_save_handler() : manual shutdown, reopen 14 …* Prototype : bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_fun… 19 echo "*** Testing session_set_save_handler() : manual shutdown, reopen ***\n"; 47 session_set_save_handler($handler); 56 session_set_save_handler($handler); 65 *** Testing session_set_save_handler() : manual shutdown, reopen ***
|
H A D | session_set_save_handler_variation4.phpt | 2 Test session_set_save_handler() function : variation 18 …* Prototype : bool session_set_save_handler(callback $open, callback $close, callback $read, callb… 23 echo "*** Testing session_set_save_handler() : variation ***\n"; 34 session_set_save_handler("open", "close", "read", "write", "destroy", "noisy_gc"); 44 session_set_save_handler("open", "close", "read", "write", "destroy", "noisy_gc"); 53 *** Testing session_set_save_handler() : variation ***
|
H A D | session_set_save_handler_class_013.phpt | 2 Test session_set_save_handler() : incorrect arguments for existing handler close 14 …* Prototype : bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_fun… 19 echo "*** Testing session_set_save_handler() : incorrect arguments for existing handler close ***\n… 40 session_set_save_handler($handler); 45 *** Testing session_set_save_handler() : incorrect arguments for existing handler close ***
|
H A D | bug78624.phpt | 2 Test session_set_save_handler() : session_gc() returns the number of deleted records. 15 …* Prototype : bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_fun… 20 echo "*** Test session_set_save_handler() : session_gc() returns the number of deleted records. ***… 50 session_set_save_handler($handler); 56 *** Test session_set_save_handler() : session_gc() returns the number of deleted records. ***
|
H A D | session_set_save_handler_iface_001.phpt | 2 Test session_set_save_handler() function: interface 14 …* Prototype : bool session_set_save_handler(SessionHandlerInterface $handler [, bool $register_shu… 19 echo "*** Testing session_set_save_handler() function: interface ***\n"; 59 session_set_save_handler(array($handler, 'open'), array($handler, 'close'), 76 session_set_save_handler($handler); 92 *** Testing session_set_save_handler() function: interface ***
|
H A D | session_set_save_handler_class_010.phpt | 2 Test session_set_save_handler() : manual shutdown function 14 …* Prototype : bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_fun… 19 echo "*** Testing session_set_save_handler() : manual shutdown function ***\n"; 47 session_set_save_handler($handler, false); 57 *** Testing session_set_save_handler() : manual shutdown function ***
|
H A D | session_set_save_handler_class_005.phpt | 2 Test session_set_save_handler() : incomplete implementation 15 …* Prototype : bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_fun… 20 echo "*** Testing session_set_save_handler() : incomplete implementation ***\n"; 35 session_set_save_handler($handler); 43 *** Testing session_set_save_handler() : incomplete implementation ***
|
H A D | session_set_save_handler_class_008.phpt | 2 Test session_set_save_handler() : manual shutdown 14 …* Prototype : bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_fun… 19 echo "*** Testing session_set_save_handler() : manual shutdown ***\n"; 47 session_set_save_handler($handler); 59 *** Testing session_set_save_handler() : manual shutdown ***
|
H A D | session_set_save_handler_class_009.phpt | 2 Test session_set_save_handler() : implicit shutdown 14 …* Prototype : bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_fun… 19 echo "*** Testing session_set_save_handler() : implicit shutdown ***\n"; 47 session_set_save_handler($handler); 57 *** Testing session_set_save_handler() : implicit shutdown ***
|
H A D | session_set_save_handler_class_011.phpt | 2 Test session_set_save_handler() : shutdown failure 14 …* Prototype : bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_fun… 19 echo "*** Testing session_set_save_handler() : shutdown failure ***\n"; 52 session_set_save_handler($handler, false); 61 *** Testing session_set_save_handler() : shutdown failure ***
|
H A D | bug31454.phpt | 2 Bug #31454 (session_set_save_handler crashes PHP when supplied non-existent object ref) 8 session_set_save_handler( 19 Warning: session_set_save_handler(): Argument 1 is not a valid callback in %sbug31454.php on line %d
|
H A D | session_set_save_handler_class_002.phpt | 2 Test session_set_save_handler() : full handler implementation 14 …* Prototype : bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_fun… 19 echo "*** Testing session_set_save_handler() : full handler implementation ***\n"; 60 session_set_save_handler(array($handler, 'open'), array($handler, 'close'), 77 session_set_save_handler($handler); 93 *** Testing session_set_save_handler() : full handler implementation ***
|
H A D | session_set_save_handler_variation1.phpt | 2 Test session_set_save_handler() function : variation 11 …* Prototype : bool session_set_save_handler(callback $open, callback $close, callback $read, callb… 16 echo "*** Testing session_set_save_handler() : variation ***\n"; 29 *** Testing session_set_save_handler() : variation ***
|