@ 2015-12-16T14:02:42Z <?php
session_set_save_handler('sessionOpen', 'sessionClose', 'sessionRead', 'sessionWrite', 'sessionDestroy', 'sessionGC');
function sessionOpen($save_path, $session_name)
{
return true;
}
function sessionClose()
{
return true;
}
function sessionRead() {
return '_lol|s:150:"123";}|_lol|s:3:"123";';
}
function sessionWrite($session_id, $data)
{
return true;
}
function sessionDestroy($session_id)
{
return true;
}
function sessionGC($max_lifetime)
{
return true;
}
session_start();
var_dump($_SESSION);
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 Warning: session_start(): Failed to decode session object. Session has been destroyed in /in/vOKlv on line 32
array(0) {
}
Output for 5.5.29 - 5.5.38 , 5.6.13 - 5.6.40 , 7.0.0 - 7.0.33 Warning: session_start(): Failed to decode session object. Session has been destroyed in /in/vOKlv on line 32
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/vOKlv:32) in /in/vOKlv on line 32
array(0) {
}
Output for 5.5.0 - 5.5.28 , 5.6.0 - 5.6.12 array(2) {
["_lol"]=>
string(3) "123"
["150:"123";}"]=>
NULL
}
preferences:dark mode live preview
283.18 ms | 402 KiB | 327 Q