3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class MySessionHandler implements \SessionHandlerInterface { public $messages = array(); public function open($savePath, $sessionName) { $this->messages[] = 'open ' . $sessionName; } public function close() { $this->messages[] = 'close'; } public function read($id) { $this->messages[] = 'read ' . $id; } public function write($id, $data) { $this->messages[] = 'write ' . $id . ': ' . $data; } public function destroy($id) { $this->messages[] = 'destroy ' . $id; } public function gc($maxlifetime) { $this->messages[] = 'gc ' . var_export($maxlifetime, true); } public function __destruct() { var_dump($this->messages); } } $handler = new MySessionHandler(); session_set_save_handler($handler, true); $handler->messages[] = 'isset($_SESSION): ' . var_export(isset($_SESSION), true); $_SESSION['before'] = 'start'; session_start(); $_SESSION['foo'] = 'bar'; $handler->messages[] = 'current session_id: ' . session_id(); session_regenerate_id(true); $handler->messages[] = 'current session_id: ' . session_id(); exit(); session_write_close(); session_start(); session_destroy(); $handler->messages[] = var_export($_SESSION, true); $handler->messages[] = 'current session_id: ' . var_export(session_id(), true); session_id('explicit-session-id'); session_start(); $_SESSION['john'] = 'doe';
based on Aello
Output for 7.1.0
Warning: session_start(): Session callback expects true/false return value in /in/dYsIM on line 50 Warning: session_start(): Session callback expects true/false return value in /in/dYsIM on line 50 Fatal error: session_start(): Failed to initialize storage module: user (path: ) in /in/dYsIM on line 50
Process exited with code 255.
Output for 7.0.0 - 7.0.14
Warning: session_start(): Session callback expects true/false return value in /in/dYsIM on line 50 Fatal error: session_start(): Failed to initialize storage module: user (path: ) in /in/dYsIM on line 50 Warning: Unknown: Session callback expects true/false return value in Unknown on line 0
Process exited with code 255.
Output for 5.6.28
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 4bc7d7cd864315f7959a4f1ae7138ebd" [3]=> string(52) "current session_id: 4bc7d7cd864315f7959a4f1ae7138ebd" [4]=> string(40) "destroy 4bc7d7cd864315f7959a4f1ae7138ebd" [5]=> string(52) "current session_id: 03299fa2109ac2f899ba94de0b1aa0ab" [6]=> string(54) "write 03299fa2109ac2f899ba94de0b1aa0ab: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.6.21
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read eee18a806c20aba5f929aa2f70861400" [3]=> string(52) "current session_id: eee18a806c20aba5f929aa2f70861400" [4]=> string(40) "destroy eee18a806c20aba5f929aa2f70861400" [5]=> string(52) "current session_id: ab9b474b24ab2667ea25e2110db3a180" [6]=> string(54) "write ab9b474b24ab2667ea25e2110db3a180: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.6.20
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read cc5eb78c04a59553740504183a0ca01b" [3]=> string(52) "current session_id: cc5eb78c04a59553740504183a0ca01b" [4]=> string(40) "destroy cc5eb78c04a59553740504183a0ca01b" [5]=> string(52) "current session_id: e072be102ea160a76b4d10dd2ec366a5" [6]=> string(54) "write e072be102ea160a76b4d10dd2ec366a5: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.6.19
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 1658a2228ae1034c60b821761d6349ae" [3]=> string(52) "current session_id: 1658a2228ae1034c60b821761d6349ae" [4]=> string(40) "destroy 1658a2228ae1034c60b821761d6349ae" [5]=> string(52) "current session_id: 17faf80fa1308a4d26104c0c33144273" [6]=> string(54) "write 17faf80fa1308a4d26104c0c33144273: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.6.18
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 6b19ec72dfaf929c16ae6ea8e232dbd2" [3]=> string(52) "current session_id: 6b19ec72dfaf929c16ae6ea8e232dbd2" [4]=> string(40) "destroy 6b19ec72dfaf929c16ae6ea8e232dbd2" [5]=> string(52) "current session_id: 9b437ce74e5efa8df10121d821e5bd14" [6]=> string(54) "write 9b437ce74e5efa8df10121d821e5bd14: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.6.17
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read c268648ca15b120b9cde778d757717dc" [3]=> string(52) "current session_id: c268648ca15b120b9cde778d757717dc" [4]=> string(40) "destroy c268648ca15b120b9cde778d757717dc" [5]=> string(52) "current session_id: bd0cf2c19e92bff637c304e80067fcaf" [6]=> string(54) "write bd0cf2c19e92bff637c304e80067fcaf: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.6.16
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read bddd9b01e943aae81345c5558ca53499" [3]=> string(52) "current session_id: bddd9b01e943aae81345c5558ca53499" [4]=> string(40) "destroy bddd9b01e943aae81345c5558ca53499" [5]=> string(52) "current session_id: 6c2e0438bc89e24e5356539648a45746" [6]=> string(54) "write 6c2e0438bc89e24e5356539648a45746: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.6.15
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 6d3b808c3074595c0bcfd3104adedde3" [3]=> string(52) "current session_id: 6d3b808c3074595c0bcfd3104adedde3" [4]=> string(40) "destroy 6d3b808c3074595c0bcfd3104adedde3" [5]=> string(52) "current session_id: a3b57fd79f0cbfa0d44967b53e0afe39" [6]=> string(54) "write a3b57fd79f0cbfa0d44967b53e0afe39: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.6.14
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read aa78b1025138f3872836002587a97190" [3]=> string(52) "current session_id: aa78b1025138f3872836002587a97190" [4]=> string(40) "destroy aa78b1025138f3872836002587a97190" [5]=> string(52) "current session_id: 5fabc470d317bd7a04d76ab5c6b3caa4" [6]=> string(54) "write 5fabc470d317bd7a04d76ab5c6b3caa4: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.6.13
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 50b9428d39b3e40b6f9d66e8e0a5d282" [3]=> string(52) "current session_id: 50b9428d39b3e40b6f9d66e8e0a5d282" [4]=> string(40) "destroy 50b9428d39b3e40b6f9d66e8e0a5d282" [5]=> string(52) "current session_id: d8006ca34f7ad3b91b7d65097c9b6b5f" [6]=> string(54) "write d8006ca34f7ad3b91b7d65097c9b6b5f: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.6.12
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read a24fc241ae98385f8e83f38ad1779fa8" [3]=> string(52) "current session_id: a24fc241ae98385f8e83f38ad1779fa8" [4]=> string(40) "destroy a24fc241ae98385f8e83f38ad1779fa8" [5]=> string(52) "current session_id: 653f4ccaa80f71335a33d907abffa41a" [6]=> string(54) "write 653f4ccaa80f71335a33d907abffa41a: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.6.11
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 41313d7c43c67474963eaa5fcc0df144" [3]=> string(52) "current session_id: 41313d7c43c67474963eaa5fcc0df144" [4]=> string(40) "destroy 41313d7c43c67474963eaa5fcc0df144" [5]=> string(52) "current session_id: cef114047c08259620359c423fdb4df4" [6]=> string(54) "write cef114047c08259620359c423fdb4df4: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.6.10
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 1d68ac5bbf9a1c9adb6265908ca5c3ec" [3]=> string(52) "current session_id: 1d68ac5bbf9a1c9adb6265908ca5c3ec" [4]=> string(40) "destroy 1d68ac5bbf9a1c9adb6265908ca5c3ec" [5]=> string(52) "current session_id: e265fd0cf3a0cef83f10cf3a5c9310a6" [6]=> string(54) "write e265fd0cf3a0cef83f10cf3a5c9310a6: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.6.9
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read e33e128aa9703325be83e949ec6084f5" [3]=> string(52) "current session_id: e33e128aa9703325be83e949ec6084f5" [4]=> string(40) "destroy e33e128aa9703325be83e949ec6084f5" [5]=> string(52) "current session_id: 1a092442eae4e8a182a511002d76a1d0" [6]=> string(54) "write 1a092442eae4e8a182a511002d76a1d0: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.6.8
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read edd0f62facc1ba96cc2251885b9788e2" [3]=> string(52) "current session_id: edd0f62facc1ba96cc2251885b9788e2" [4]=> string(40) "destroy edd0f62facc1ba96cc2251885b9788e2" [5]=> string(52) "current session_id: 397b58fc7510836eca047e8fdadf620c" [6]=> string(54) "write 397b58fc7510836eca047e8fdadf620c: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.5.35
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 3072db1d545adc6643730dbe286ffb5d" [3]=> string(52) "current session_id: 3072db1d545adc6643730dbe286ffb5d" [4]=> string(40) "destroy 3072db1d545adc6643730dbe286ffb5d" [5]=> string(52) "current session_id: f7b57d87e18d3637ad47790bbe8cc255" [6]=> string(54) "write f7b57d87e18d3637ad47790bbe8cc255: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.5.34
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 013b0d82fe2bfc9c0729f1bfadc93857" [3]=> string(52) "current session_id: 013b0d82fe2bfc9c0729f1bfadc93857" [4]=> string(40) "destroy 013b0d82fe2bfc9c0729f1bfadc93857" [5]=> string(52) "current session_id: 790f37161719fcde3920790a4024dccf" [6]=> string(54) "write 790f37161719fcde3920790a4024dccf: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.5.33
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 54d42738a0169b2c05c62d05359b0147" [3]=> string(52) "current session_id: 54d42738a0169b2c05c62d05359b0147" [4]=> string(40) "destroy 54d42738a0169b2c05c62d05359b0147" [5]=> string(52) "current session_id: 30e650b11e699752657f75e9d60d02c0" [6]=> string(54) "write 30e650b11e699752657f75e9d60d02c0: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.5.32
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 51571bf6917c31b1268bf70c71fb3d0d" [3]=> string(52) "current session_id: 51571bf6917c31b1268bf70c71fb3d0d" [4]=> string(40) "destroy 51571bf6917c31b1268bf70c71fb3d0d" [5]=> string(52) "current session_id: 7fde6e4ba1d3058b454deed6143b320b" [6]=> string(54) "write 7fde6e4ba1d3058b454deed6143b320b: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.5.31
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 0ec72099901792007100ac6d345d1f7b" [3]=> string(52) "current session_id: 0ec72099901792007100ac6d345d1f7b" [4]=> string(40) "destroy 0ec72099901792007100ac6d345d1f7b" [5]=> string(52) "current session_id: 426bd8ecda4fe55db993a55136f23ae5" [6]=> string(54) "write 426bd8ecda4fe55db993a55136f23ae5: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.5.30
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 466705b004da1bcda7d1aa908db5b3b4" [3]=> string(52) "current session_id: 466705b004da1bcda7d1aa908db5b3b4" [4]=> string(40) "destroy 466705b004da1bcda7d1aa908db5b3b4" [5]=> string(52) "current session_id: 518465f4d24d9c67cd4f4da41d776a9c" [6]=> string(54) "write 518465f4d24d9c67cd4f4da41d776a9c: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.5.29
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 41221503820cbc8ca88e69c2c807fe73" [3]=> string(52) "current session_id: 41221503820cbc8ca88e69c2c807fe73" [4]=> string(40) "destroy 41221503820cbc8ca88e69c2c807fe73" [5]=> string(52) "current session_id: 168c0d0d85baf14b00eb233d694d761a" [6]=> string(54) "write 168c0d0d85baf14b00eb233d694d761a: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.5.28
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 4cfe1a27ff7bda97dba712fe5ed14e98" [3]=> string(52) "current session_id: 4cfe1a27ff7bda97dba712fe5ed14e98" [4]=> string(40) "destroy 4cfe1a27ff7bda97dba712fe5ed14e98" [5]=> string(52) "current session_id: 883b4d7ef7f6fbe9baebf0abc4e67b1f" [6]=> string(54) "write 883b4d7ef7f6fbe9baebf0abc4e67b1f: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.5.27
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 38352af57fda6af1c50c024d63b20e91" [3]=> string(52) "current session_id: 38352af57fda6af1c50c024d63b20e91" [4]=> string(40) "destroy 38352af57fda6af1c50c024d63b20e91" [5]=> string(52) "current session_id: 39cf8204e3baefb26feea74f48dd494e" [6]=> string(54) "write 39cf8204e3baefb26feea74f48dd494e: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.5.26
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read e7a4454b4391baa81f2eabc99a6e4079" [3]=> string(52) "current session_id: e7a4454b4391baa81f2eabc99a6e4079" [4]=> string(40) "destroy e7a4454b4391baa81f2eabc99a6e4079" [5]=> string(52) "current session_id: e628b671791f6c7d2027331f01058891" [6]=> string(54) "write e628b671791f6c7d2027331f01058891: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.5.25
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 7617bdddbf675527a020377702506cb8" [3]=> string(52) "current session_id: 7617bdddbf675527a020377702506cb8" [4]=> string(40) "destroy 7617bdddbf675527a020377702506cb8" [5]=> string(52) "current session_id: 6ad0886b934ea4e5089d9dab5ad7e5be" [6]=> string(54) "write 6ad0886b934ea4e5089d9dab5ad7e5be: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.5.24
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read b6632d39ee3ba55b5cae6438fb373e80" [3]=> string(52) "current session_id: b6632d39ee3ba55b5cae6438fb373e80" [4]=> string(40) "destroy b6632d39ee3ba55b5cae6438fb373e80" [5]=> string(52) "current session_id: 53f0353dd198f385e2504c3c2a58eda1" [6]=> string(54) "write 53f0353dd198f385e2504c3c2a58eda1: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.45
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read da243558d135573b4855646df8fe35b8" [3]=> string(52) "current session_id: da243558d135573b4855646df8fe35b8" [4]=> string(40) "destroy da243558d135573b4855646df8fe35b8" [5]=> string(52) "current session_id: c6aa043b94a131fa67adfdc8f529a2d2" [6]=> string(54) "write c6aa043b94a131fa67adfdc8f529a2d2: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.44
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 207007332e97a1f078a90c09c4a326f1" [3]=> string(52) "current session_id: 207007332e97a1f078a90c09c4a326f1" [4]=> string(40) "destroy 207007332e97a1f078a90c09c4a326f1" [5]=> string(52) "current session_id: dc57a2d335bdd029196fce6deffbd389" [6]=> string(54) "write dc57a2d335bdd029196fce6deffbd389: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.43
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 5184310e166fc16bc09239680193d917" [3]=> string(52) "current session_id: 5184310e166fc16bc09239680193d917" [4]=> string(40) "destroy 5184310e166fc16bc09239680193d917" [5]=> string(52) "current session_id: 0d14eaf6d32b578efe3f9cbc5c5b9556" [6]=> string(54) "write 0d14eaf6d32b578efe3f9cbc5c5b9556: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.42
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read a79f88ca067975aa0060e9347602d647" [3]=> string(52) "current session_id: a79f88ca067975aa0060e9347602d647" [4]=> string(40) "destroy a79f88ca067975aa0060e9347602d647" [5]=> string(52) "current session_id: 67b779304736889c9edf9459cc05e246" [6]=> string(54) "write 67b779304736889c9edf9459cc05e246: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.41
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 1b834c90adb05ff1f863636223cb4a42" [3]=> string(52) "current session_id: 1b834c90adb05ff1f863636223cb4a42" [4]=> string(40) "destroy 1b834c90adb05ff1f863636223cb4a42" [5]=> string(52) "current session_id: aab689321db9979a092b5db5dd9193c4" [6]=> string(54) "write aab689321db9979a092b5db5dd9193c4: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.40
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read a5e509bcb6b89b4065cc786d9dd21e67" [3]=> string(52) "current session_id: a5e509bcb6b89b4065cc786d9dd21e67" [4]=> string(40) "destroy a5e509bcb6b89b4065cc786d9dd21e67" [5]=> string(52) "current session_id: 184c0c62a105b8e91d7fc410651e939b" [6]=> string(54) "write 184c0c62a105b8e91d7fc410651e939b: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.39
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 396c610a8defb0a3ceee1c7088406f89" [3]=> string(52) "current session_id: 396c610a8defb0a3ceee1c7088406f89" [4]=> string(40) "destroy 396c610a8defb0a3ceee1c7088406f89" [5]=> string(52) "current session_id: 27b8216d120ad840aa73f8e0ab40570f" [6]=> string(54) "write 27b8216d120ad840aa73f8e0ab40570f: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.38
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 1ac9e5dbc85b850e8901059f717f6137" [3]=> string(52) "current session_id: 1ac9e5dbc85b850e8901059f717f6137" [4]=> string(40) "destroy 1ac9e5dbc85b850e8901059f717f6137" [5]=> string(52) "current session_id: 4947644885052c216f9b69393ed269f0" [6]=> string(54) "write 4947644885052c216f9b69393ed269f0: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.37
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 2d922bbeb64a39d2b2bbdeaaccbe299e" [3]=> string(52) "current session_id: 2d922bbeb64a39d2b2bbdeaaccbe299e" [4]=> string(40) "destroy 2d922bbeb64a39d2b2bbdeaaccbe299e" [5]=> string(52) "current session_id: 11485b319cbfe882790c1137438f35bf" [6]=> string(54) "write 11485b319cbfe882790c1137438f35bf: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.36
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read f2ec34ac55e535977d9e11262963f4c9" [3]=> string(52) "current session_id: f2ec34ac55e535977d9e11262963f4c9" [4]=> string(40) "destroy f2ec34ac55e535977d9e11262963f4c9" [5]=> string(52) "current session_id: 433e72c8ea75170b4049155c68929c9f" [6]=> string(54) "write 433e72c8ea75170b4049155c68929c9f: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.35
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read bb8a3f7ec2bddda446ec3b2ad7b66349" [3]=> string(52) "current session_id: bb8a3f7ec2bddda446ec3b2ad7b66349" [4]=> string(40) "destroy bb8a3f7ec2bddda446ec3b2ad7b66349" [5]=> string(52) "current session_id: 21eb243711966e8144464428b22bb0c7" [6]=> string(54) "write 21eb243711966e8144464428b22bb0c7: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.34
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 53010e1c1b36977abfc865cc151d398a" [3]=> string(52) "current session_id: 53010e1c1b36977abfc865cc151d398a" [4]=> string(40) "destroy 53010e1c1b36977abfc865cc151d398a" [5]=> string(52) "current session_id: 5ededa27eb6067b058565c412050e71c" [6]=> string(54) "write 5ededa27eb6067b058565c412050e71c: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.32
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 2d7cc5a8c1fe34c253bd0c5002383f8e" [3]=> string(52) "current session_id: 2d7cc5a8c1fe34c253bd0c5002383f8e" [4]=> string(40) "destroy 2d7cc5a8c1fe34c253bd0c5002383f8e" [5]=> string(52) "current session_id: fba48fa817775d9dd878c66ab47c8941" [6]=> string(54) "write fba48fa817775d9dd878c66ab47c8941: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.31
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 68d768ffc6c7caf354a81047b9ad0308" [3]=> string(52) "current session_id: 68d768ffc6c7caf354a81047b9ad0308" [4]=> string(40) "destroy 68d768ffc6c7caf354a81047b9ad0308" [5]=> string(52) "current session_id: 985ce97e3e25a8675eae650cc0e74b33" [6]=> string(54) "write 985ce97e3e25a8675eae650cc0e74b33: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.30
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 577a84862bd5b1ef2f152ce2f9f24f5b" [3]=> string(52) "current session_id: 577a84862bd5b1ef2f152ce2f9f24f5b" [4]=> string(40) "destroy 577a84862bd5b1ef2f152ce2f9f24f5b" [5]=> string(52) "current session_id: b9ee68d5863fa14059c89e12584ff24d" [6]=> string(54) "write b9ee68d5863fa14059c89e12584ff24d: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.29
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 35678e5abbc413d7aed45101a192b582" [3]=> string(52) "current session_id: 35678e5abbc413d7aed45101a192b582" [4]=> string(40) "destroy 35678e5abbc413d7aed45101a192b582" [5]=> string(52) "current session_id: 8011c650189aa808cd3728e1677f4c03" [6]=> string(54) "write 8011c650189aa808cd3728e1677f4c03: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.28
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 42d2e516ce621683a0dc76e70e14bf60" [3]=> string(52) "current session_id: 42d2e516ce621683a0dc76e70e14bf60" [4]=> string(40) "destroy 42d2e516ce621683a0dc76e70e14bf60" [5]=> string(52) "current session_id: 563a690cc282aec816aca383c106ce07" [6]=> string(54) "write 563a690cc282aec816aca383c106ce07: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.27
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 265eea4c84d2e5f9c913bb1124700b6d" [3]=> string(52) "current session_id: 265eea4c84d2e5f9c913bb1124700b6d" [4]=> string(40) "destroy 265eea4c84d2e5f9c913bb1124700b6d" [5]=> string(52) "current session_id: d5692437d04af091485840990da83278" [6]=> string(54) "write d5692437d04af091485840990da83278: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.26
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 8a5a26aeb60ef3d4c0a177bfab085d44" [3]=> string(52) "current session_id: 8a5a26aeb60ef3d4c0a177bfab085d44" [4]=> string(40) "destroy 8a5a26aeb60ef3d4c0a177bfab085d44" [5]=> string(52) "current session_id: ac5d637f07cfc924f8d86cbcfa1f3d71" [6]=> string(54) "write ac5d637f07cfc924f8d86cbcfa1f3d71: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.25
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read f9cfeac74ba1f1dae54bce393904702d" [3]=> string(52) "current session_id: f9cfeac74ba1f1dae54bce393904702d" [4]=> string(40) "destroy f9cfeac74ba1f1dae54bce393904702d" [5]=> string(52) "current session_id: 39d1b08cf397085af85a8896810b1616" [6]=> string(54) "write 39d1b08cf397085af85a8896810b1616: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.24
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 54d7826fde6740d62c409fa7008ead27" [3]=> string(52) "current session_id: 54d7826fde6740d62c409fa7008ead27" [4]=> string(40) "destroy 54d7826fde6740d62c409fa7008ead27" [5]=> string(52) "current session_id: 64564b60d92699c6e68e4d1da76952a6" [6]=> string(54) "write 64564b60d92699c6e68e4d1da76952a6: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.23
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 6aba57efd0381d89ceeec5c082a8ad52" [3]=> string(52) "current session_id: 6aba57efd0381d89ceeec5c082a8ad52" [4]=> string(40) "destroy 6aba57efd0381d89ceeec5c082a8ad52" [5]=> string(52) "current session_id: 73f662c8ce5f6b536af187a3dec6bc67" [6]=> string(54) "write 73f662c8ce5f6b536af187a3dec6bc67: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.22
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read b6b02ea27bf16cc195dfdeec1cfa8c43" [3]=> string(52) "current session_id: b6b02ea27bf16cc195dfdeec1cfa8c43" [4]=> string(40) "destroy b6b02ea27bf16cc195dfdeec1cfa8c43" [5]=> string(52) "current session_id: bc08e1eb6db0b733871db56c2f7fa5db" [6]=> string(54) "write bc08e1eb6db0b733871db56c2f7fa5db: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.21
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read e9a0983369b3f7d0b6702bb2e8343764" [3]=> string(52) "current session_id: e9a0983369b3f7d0b6702bb2e8343764" [4]=> string(40) "destroy e9a0983369b3f7d0b6702bb2e8343764" [5]=> string(52) "current session_id: 0afe911fca9bf3bbe6103eb876a41d0f" [6]=> string(54) "write 0afe911fca9bf3bbe6103eb876a41d0f: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.20
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 935adb92177c027d1be92f2a454eb246" [3]=> string(52) "current session_id: 935adb92177c027d1be92f2a454eb246" [4]=> string(40) "destroy 935adb92177c027d1be92f2a454eb246" [5]=> string(52) "current session_id: 44f4f9a62ff1bba14cbf1d2153fc9eef" [6]=> string(54) "write 44f4f9a62ff1bba14cbf1d2153fc9eef: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.19
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 3e13a929b909dabb56bb8a2f460b1b54" [3]=> string(52) "current session_id: 3e13a929b909dabb56bb8a2f460b1b54" [4]=> string(40) "destroy 3e13a929b909dabb56bb8a2f460b1b54" [5]=> string(52) "current session_id: 6845dc54ae67149dd550bbde9eca4f6e" [6]=> string(54) "write 6845dc54ae67149dd550bbde9eca4f6e: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.18
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 594296d3913e6573ffb8e7313601e9cc" [3]=> string(52) "current session_id: 594296d3913e6573ffb8e7313601e9cc" [4]=> string(40) "destroy 594296d3913e6573ffb8e7313601e9cc" [5]=> string(52) "current session_id: 8887dec6cbef5a15eeeef88530257123" [6]=> string(54) "write 8887dec6cbef5a15eeeef88530257123: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.17
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 73c708bb6f65762109cf76ccbb1f981c" [3]=> string(52) "current session_id: 73c708bb6f65762109cf76ccbb1f981c" [4]=> string(40) "destroy 73c708bb6f65762109cf76ccbb1f981c" [5]=> string(52) "current session_id: 26641379d0face1273aa0d720e7f423f" [6]=> string(54) "write 26641379d0face1273aa0d720e7f423f: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.16
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read b59aaeacbfd5f505a1f403b476f18091" [3]=> string(52) "current session_id: b59aaeacbfd5f505a1f403b476f18091" [4]=> string(40) "destroy b59aaeacbfd5f505a1f403b476f18091" [5]=> string(52) "current session_id: b9b0d7e48ef4d7ebde10eec306ece8cc" [6]=> string(54) "write b9b0d7e48ef4d7ebde10eec306ece8cc: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.15
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 38992b8f13a29ab1a81d64744a78519a" [3]=> string(52) "current session_id: 38992b8f13a29ab1a81d64744a78519a" [4]=> string(40) "destroy 38992b8f13a29ab1a81d64744a78519a" [5]=> string(52) "current session_id: 32cd2bb07824710328fa89bc490e7c52" [6]=> string(54) "write 32cd2bb07824710328fa89bc490e7c52: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.14
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 46f7c4442fadcc16498800b17f639fa0" [3]=> string(52) "current session_id: 46f7c4442fadcc16498800b17f639fa0" [4]=> string(40) "destroy 46f7c4442fadcc16498800b17f639fa0" [5]=> string(52) "current session_id: 254ec9eb369f598febbeceef01292f4a" [6]=> string(54) "write 254ec9eb369f598febbeceef01292f4a: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.13
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 417d7f52432b336c16fcd206e1555da2" [3]=> string(52) "current session_id: 417d7f52432b336c16fcd206e1555da2" [4]=> string(40) "destroy 417d7f52432b336c16fcd206e1555da2" [5]=> string(52) "current session_id: f1f9e748b72451c66abd9271dafe6526" [6]=> string(54) "write f1f9e748b72451c66abd9271dafe6526: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.12
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 72a17343e58ad9d056a59364812fa9ef" [3]=> string(52) "current session_id: 72a17343e58ad9d056a59364812fa9ef" [4]=> string(40) "destroy 72a17343e58ad9d056a59364812fa9ef" [5]=> string(52) "current session_id: a33201358a709f2bee966a95b454d165" [6]=> string(54) "write a33201358a709f2bee966a95b454d165: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.11
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 772ef7df748e02d1ce545dc850b6041c" [3]=> string(52) "current session_id: 772ef7df748e02d1ce545dc850b6041c" [4]=> string(40) "destroy 772ef7df748e02d1ce545dc850b6041c" [5]=> string(52) "current session_id: 1843386cf870e29cec05e7aa859999d1" [6]=> string(54) "write 1843386cf870e29cec05e7aa859999d1: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.10
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 9e08e679e6dd1cbc1b6a83098570a2c6" [3]=> string(52) "current session_id: 9e08e679e6dd1cbc1b6a83098570a2c6" [4]=> string(40) "destroy 9e08e679e6dd1cbc1b6a83098570a2c6" [5]=> string(52) "current session_id: b77a299768860f00efb83e550440cbee" [6]=> string(54) "write b77a299768860f00efb83e550440cbee: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.9
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 506ffa11986764d71f6b7d86a3da6cf7" [3]=> string(52) "current session_id: 506ffa11986764d71f6b7d86a3da6cf7" [4]=> string(40) "destroy 506ffa11986764d71f6b7d86a3da6cf7" [5]=> string(52) "current session_id: fec8d3cce35df8f10c266555eff8a7be" [6]=> string(54) "write fec8d3cce35df8f10c266555eff8a7be: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.8
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 335f11e5faa873f1e85c870782b0294c" [3]=> string(52) "current session_id: 335f11e5faa873f1e85c870782b0294c" [4]=> string(40) "destroy 335f11e5faa873f1e85c870782b0294c" [5]=> string(52) "current session_id: b28c04e66c43328973b545374ab7e7a0" [6]=> string(54) "write b28c04e66c43328973b545374ab7e7a0: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.7
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read ce768d4cc15141d29cef8ef8e774fbca" [3]=> string(52) "current session_id: ce768d4cc15141d29cef8ef8e774fbca" [4]=> string(40) "destroy ce768d4cc15141d29cef8ef8e774fbca" [5]=> string(52) "current session_id: 4d2c1795cffc36dd76def8ce3e37892d" [6]=> string(54) "write 4d2c1795cffc36dd76def8ce3e37892d: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.6
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read dbac7ea982f1a4259fe7d30af62b80e8" [3]=> string(52) "current session_id: dbac7ea982f1a4259fe7d30af62b80e8" [4]=> string(40) "destroy dbac7ea982f1a4259fe7d30af62b80e8" [5]=> string(52) "current session_id: 931e10d6b1e4b12945dc567479f51eb0" [6]=> string(54) "write 931e10d6b1e4b12945dc567479f51eb0: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.5
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read ffbb5d705a4421a46e50c8ea62ea8847" [3]=> string(52) "current session_id: ffbb5d705a4421a46e50c8ea62ea8847" [4]=> string(40) "destroy ffbb5d705a4421a46e50c8ea62ea8847" [5]=> string(52) "current session_id: dc9b0fbf984bf2c0289acf36f2899f54" [6]=> string(54) "write dc9b0fbf984bf2c0289acf36f2899f54: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.4
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read b16badc0034fbc9b61a41f6952e698a2" [3]=> string(52) "current session_id: b16badc0034fbc9b61a41f6952e698a2" [4]=> string(40) "destroy b16badc0034fbc9b61a41f6952e698a2" [5]=> string(52) "current session_id: 8a8377753e7bd9eb4e5b2c3f82ca57b8" [6]=> string(54) "write 8a8377753e7bd9eb4e5b2c3f82ca57b8: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.3
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 699d041afb32a68736157eb08dac8046" [3]=> string(52) "current session_id: 699d041afb32a68736157eb08dac8046" [4]=> string(40) "destroy 699d041afb32a68736157eb08dac8046" [5]=> string(52) "current session_id: 9adabf9b042fa6b63f12c0dc199ad4ad" [6]=> string(54) "write 9adabf9b042fa6b63f12c0dc199ad4ad: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.2
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read 8bb24ac5e76f6ebde8184e22fcb02e4e" [3]=> string(52) "current session_id: 8bb24ac5e76f6ebde8184e22fcb02e4e" [4]=> string(40) "destroy 8bb24ac5e76f6ebde8184e22fcb02e4e" [5]=> string(52) "current session_id: 36374967eb19658d74701882a3ce6d23" [6]=> string(54) "write 36374967eb19658d74701882a3ce6d23: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.1
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read db541a565878b1076410d0afb76e3f99" [3]=> string(52) "current session_id: db541a565878b1076410d0afb76e3f99" [4]=> string(40) "destroy db541a565878b1076410d0afb76e3f99" [5]=> string(52) "current session_id: 1fe2b32a971eeab064335935d4669ac7" [6]=> string(54) "write 1fe2b32a971eeab064335935d4669ac7: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.4.0
array(8) { [0]=> string(23) "isset($_SESSION): false" [1]=> string(14) "open PHPSESSID" [2]=> string(37) "read bdc9bcceca2206c321d08703fb91eae4" [3]=> string(52) "current session_id: bdc9bcceca2206c321d08703fb91eae4" [4]=> string(40) "destroy bdc9bcceca2206c321d08703fb91eae4" [5]=> string(52) "current session_id: 93202429563586a0cc84eabdcb60cd66" [6]=> string(54) "write 93202429563586a0cc84eabdcb60cd66: foo|s:3:"bar";" [7]=> string(5) "close" }
Output for 5.3.0 - 5.3.29
Fatal error: Interface 'SessionHandlerInterface' not found in /in/dYsIM on line 5
Process exited with code 255.
Output for 5.0.5 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/dYsIM on line 4 Fatal error: Interface 'SessionHandlerInterface' not found in /in/dYsIM on line 4
Process exited with code 255.
Output for 5.0.0 - 5.0.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/dYsIM on line 4 Fatal error: Class 'SessionHandlerInterface' not found in /in/dYsIM on line 4
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting '{' in /in/dYsIM on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected T_STRING, expecting '{' in /in/dYsIM on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `'{'' in /in/dYsIM on line 4
Process exited with code 255.