3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); session_decode('core|a:3:{s:23:"_session_validator_data";a:4:{s:11:"remote_addr";s:9:"127.0.0.1";s:8:"http_via";s:0:"";s:20:"http_x_forwarded_for";s:54:"";s:15:"http_user_agent";s:0:"";}s:12:"visitor_data";a:15:{s:0:"";N;s:11:"server_addr";s:4:"1234";s:11:"remote_addr";s:4:"1234";s:11:"http_secure";b:0;s:9:"http_host";s:9:"127.0.0.1";s:15:"http_user_agent";s:0:"";s:20:"http_accept_language";s:0:"";s:19:"http_accept_charset";s:0:"";s:11:"request_uri";s:113:"/magento/index.php/rss/order/status?data=eyJvcmRlcl9pZCI6NDksImluY3JlbWVudF9pZCI6dHJ1ZSwiY3VzdG9tZXJfaWQiOnRydWV9";s:10:"session_id";s:26:"7vafphcpefuimh8dblkakvqc80";s:12:"http_referer";s:0:"";s:14:"first_visit_at";s:19:"2015-10-29 10:09:47";s:14:"is_new_visitor";b:0;s:13:"last_visit_at";s:19:"2015-10-29 10:09:47";s:10:"visitor_id";s:2:"81";}s:8:"last_url";s:130:"http://127.0.0.1/magento/index.php/rss/order/status/?data=eyJvcmRlcl9pZCI6NDksImluY3JlbWVudF9pZCI6dHJ1ZSwiY3VzdG9tZXJfaWQiOnRydWV9";}customer_base|a:1:{s:23:"_session_validator_data";a:4:{s:11:"remote_addr";s:9:"127.0.0.1";s:8:"http_via";s:0:"";s:20:"http_x_forwarded_for";s:0:"";s:15:"http_user_agent";s:0:"";}}rss|a:1:{s:23:"_session_validator_data";a:4:{s:11:"remote_addr";s:9:"127.0.0.1";s:8:"http_via";s:0:"";s:20:"http_x_forwarded_for";s:0:"";s:15:"http_user_agent";s:0:"";}}admin|a:1:{s:23:"_session_validator_data";a:4:{s:11:"remote_addr";s:9:"127.0.0.1";s:8:"http_via";s:0:"";s:20:"http_x_forwarded_for";s:0:"";s:15:"http_user_agent";s:0:"";}}'); var_dump($_SESSION);
Output for 5.5.29 - 5.5.38, 5.6.13 - 5.6.38, 7.0.0 - 7.0.33, 7.1.0 - 7.1.25, 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.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Warning: session_decode(): Failed to decode session object. Session has been destroyed in /in/b5H3g on line 5 array(0) { }
Output for 5.5.0 - 5.5.28, 5.6.0 - 5.6.12
array(4) { ["core"]=> NULL [":15:{s:0:"";N;s:11:"server_addr";s:4:"1234";s:11:"remote_addr";s:4:"1234";s:11:"http_secure";b:0;s:9:"http_host";s:9:"127.0.0.1";s:15:"http_user_agent";s:0:"";s:20:"http_accept_language";s:0:"";s:19:"http_accept_charset";s:0:"";s:11:"request_uri";s:113:"/magento/index.php/rss/order/status?data=eyJvcmRlcl9pZCI6NDksImluY3JlbWVudF9pZCI6dHJ1ZSwiY3VzdG9tZXJfaWQiOnRydWV9";s:10:"session_id";s:26:"7vafphcpefuimh8dblkakvqc80";s:12:"http_referer";s:0:"";s:14:"first_visit_at";s:19:"2015-10-29 10:09:47";s:14:"is_new_visitor";b:0;s:13:"last_visit_at";s:19:"2015-10-29 10:09:47";s:10:"visitor_id";s:2:"81";}s:8:"last_url";s:130:"http://127.0.0.1/magento/index.php/rss/order/status/?data=eyJvcmRlcl9pZCI6NDksImluY3JlbWVudF9pZCI6dHJ1ZSwiY3VzdG9tZXJfaWQiOnRydWV9";}customer_base"]=> array(1) { ["_session_validator_data"]=> array(4) { ["remote_addr"]=> string(9) "127.0.0.1" ["http_via"]=> string(0) "" ["http_x_forwarded_for"]=> string(0) "" ["http_user_agent"]=> string(0) "" } } ["rss"]=> array(1) { ["_session_validator_data"]=> array(4) { ["remote_addr"]=> string(9) "127.0.0.1" ["http_via"]=> string(0) "" ["http_x_forwarded_for"]=> string(0) "" ["http_user_agent"]=> string(0) "" } } ["admin"]=> array(1) { ["_session_validator_data"]=> array(4) { ["remote_addr"]=> string(9) "127.0.0.1" ["http_via"]=> string(0) "" ["http_x_forwarded_for"]=> string(0) "" ["http_user_agent"]=> string(0) "" } } }

preferences:
240.58 ms | 405 KiB | 288 Q