3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { function __wakeup() { print "In __wakeup\n"; } } session_start(); session_decode('core|a:4:{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:22:"}}test|O:4:"Test":0:{}";}s:8:"messages";O:34:"Mage_Core_Model_Message_Collection":2:{s:12:"*_messages";a:0:{}s:20:"*_lastAddedMessage";N;}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:"localhost";s:15:"http_user_agent";s:22:"}}test|O:4:"Test":0:{}";s:20:"http_accept_language";s:0:"";s:19:"http_accept_charset";s:0:"";s:11:"request_uri";s:9:"/magento/";s:10:"session_id";s:6:"yyyyyy";s:12:"http_referer";s:0:"";s:14:"first_visit_at";s:19:"2015-12-18 15:06:15";s:14:"is_new_visitor";b:0;s:13:"last_visit_at";s:19:"2015-12-18 15:06:15";s:10:"visitor_id";s:3:"228";}s:8:"last_url";s:41:"http://localhost/magento/cms/index/index/";}customer_base|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:0:"";s:15:"http_user_agent";s:22:"}}test|O:4:"Test":0:{}";}s:8:"messages";O:34:"Mage_Core_Model_Message_Collection":2:{s:12:"*_messages";a:0:{}s:20:"*_lastAddedMessage";N;}s:19:"wishlist_item_count";i:0;}checkout|a:2:{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:22:"}}test|O:4:"Test":0:{}";}s:8:"messages";O:34:"Mage_Core_Model_Message_Collection":2:{s:12:"*_messages";a:0:{}s:20:"*_lastAddedMessage";N;}}catalog|a:2:{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:22:"}}test|O:4:"Test":0:{}";}s:8:"messages";O:34:"Mage_Core_Model_Message_Collection":2:{s:12:"*_messages";a:0:{}s:20:"*_lastAddedMessage";N;}}store_default|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:22:"}}test|O:4:"Test":0:{}";}}store_french|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:22:"}}test|O:4:"Test":0:{}";}}store_german|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:22:"}}test|O:4:"Test":0:{}";}}'); var_dump($_SESSION);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0140.00716.75
8.3.50.0170.00321.21
8.3.40.0040.01118.70
8.3.30.0070.00718.62
8.3.20.0060.00920.16
8.3.10.0000.00823.66
8.3.00.0000.00823.66
8.2.180.0180.00318.41
8.2.170.0090.00622.96
8.2.160.0070.00720.57
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00019.70
8.2.120.0050.00326.35
8.2.110.0090.00022.31
8.2.100.0120.00017.93
8.2.90.0030.00619.09
8.2.80.0000.00817.97
8.2.70.0030.00517.50
8.2.60.0080.00017.92
8.2.50.0050.00318.07
8.2.40.0000.00920.60
8.2.30.0040.00419.28
8.2.20.0000.00717.63
8.2.10.0030.00618.02
8.2.00.0040.00417.97
8.1.280.0120.00325.92
8.1.270.0080.00018.68
8.1.260.0050.00328.09
8.1.250.0080.00028.09
8.1.240.0060.00322.29
8.1.230.0100.00019.04
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0040.00417.00
8.1.180.0000.00818.10
8.1.170.0030.00518.57
8.1.160.0040.00420.85
8.1.150.0040.00418.89
8.1.140.0030.00519.62
8.1.130.0030.00617.58
8.1.120.0000.00717.50
8.1.110.0030.00517.33
8.1.100.0040.00417.41
8.1.90.0040.00417.39
8.1.80.0080.00017.43
8.1.70.0000.00717.32
8.1.60.0050.00517.46
8.1.50.0060.00317.34
8.1.40.0000.00717.40
8.1.30.0000.00817.58
8.1.20.0030.00517.66
8.1.10.0040.00417.43
8.1.00.0040.00417.31
8.0.300.0070.00018.77
8.0.290.0000.00816.75
8.0.280.0030.00318.28
8.0.270.0030.00317.28
8.0.260.0000.00617.09
8.0.250.0060.00316.93
8.0.240.0040.00416.98
8.0.230.0040.00417.04
8.0.220.0000.00816.81
8.0.210.0030.00517.00
8.0.200.0040.00416.86
8.0.190.0060.00317.02
8.0.180.0020.00516.92
8.0.170.0070.00016.92
8.0.160.0000.00716.90
8.0.150.0040.00416.91
8.0.140.0040.00416.88
8.0.130.0050.00013.30
8.0.120.0000.00716.79
8.0.110.0020.00516.91
8.0.100.0040.00416.78
8.0.90.0040.00416.79
8.0.80.0100.01016.80
8.0.70.0040.00416.98
8.0.60.0070.00016.72
8.0.50.0040.00416.76
8.0.30.0040.01417.15
8.0.20.0090.00917.40
8.0.10.0050.00216.86
8.0.00.0100.00816.63
7.4.330.0000.00516.69
7.4.320.0060.00016.42
7.4.300.0080.00016.32
7.4.290.0000.00716.47
7.4.280.0040.00416.52
7.4.270.0040.00416.55
7.4.260.0030.00316.44
7.4.250.0000.00816.43
7.4.240.0010.00616.50
7.4.230.0030.00316.50
7.4.220.0160.00316.60
7.4.210.0080.01016.51
7.4.200.0000.00716.68
7.4.160.0060.00916.47
7.4.150.0060.01117.40
7.4.140.0080.01017.86
7.4.130.0060.01116.46
7.4.120.0170.00516.61
7.4.110.0180.00616.31
7.4.100.0120.00616.41
7.4.90.0090.00916.40
7.4.80.0120.00419.39
7.4.70.0060.01116.39
7.4.60.0060.00916.41
7.4.50.0090.00316.54
7.4.40.0030.01516.55
7.4.30.0130.00716.59
7.4.00.0080.00814.86
7.3.330.0050.00013.07
7.3.320.0000.00513.25
7.3.310.0000.00816.14
7.3.300.0070.00016.20
7.3.290.0030.00316.26
7.3.280.0080.01216.28
7.3.270.0090.00917.40
7.3.260.0030.01416.49
7.3.250.0080.01016.36
7.3.240.0070.01216.41
7.3.230.0100.00716.46
7.3.210.0110.00716.29
7.3.200.0170.00219.39
7.3.190.0090.00916.40
7.3.180.0070.01016.45
7.3.170.0110.01116.69
7.3.160.0130.00716.57
7.3.10.0000.01216.55
7.3.00.0100.01016.45
7.2.330.0100.00616.41
7.2.320.0120.00916.39
7.2.310.0150.00316.48
7.2.300.0070.01416.34
7.2.290.0070.01016.58
7.2.130.0040.01116.31
7.2.120.0070.01116.33
7.2.110.0110.01116.31
7.2.100.0040.01116.66
7.2.90.0170.00716.61
7.2.80.0030.00916.81
7.2.70.0130.00916.45
7.2.60.0050.00616.75
7.2.50.0200.00016.32
7.2.40.0160.00316.20
7.2.30.0100.01416.66
7.2.20.0110.01116.50
7.2.10.0050.01516.24
7.2.00.0070.01017.98
7.1.250.0030.00715.47
7.1.200.0000.01215.71
7.1.100.0040.00717.71
7.1.70.0050.00216.64
7.1.60.0060.01919.27
7.1.50.0100.01316.95
7.1.00.0070.07322.33
7.0.200.0000.00716.54
7.0.60.0770.06020.02
7.0.50.0030.08317.98
7.0.40.0170.06720.05
7.0.30.0170.04020.17
7.0.20.0200.05720.05
7.0.10.0030.04720.06
7.0.00.0070.08020.08
5.6.280.0030.04320.96
5.6.210.0200.05020.55
5.6.200.0000.04318.19
5.6.190.0100.07020.47
5.6.180.0500.06720.46
5.6.170.0330.07720.50
5.6.160.0070.04320.70
5.6.150.0030.04018.20
5.6.140.0030.05718.16
5.6.130.0030.08318.15
5.6.120.0130.08021.01
5.6.110.0070.05720.97
5.6.100.0170.07720.98
5.6.90.0100.08021.08
5.6.80.0100.07320.51
5.5.350.0100.07320.44
5.5.340.0130.07717.99
5.5.330.0130.07320.47
5.5.320.0600.07020.42
5.5.310.0230.08320.34
5.5.300.0100.07017.95
5.5.290.0030.09017.98
5.5.280.0070.06320.85
5.5.270.0100.04020.81
5.5.260.0070.08020.85
5.5.250.0070.06720.69
5.5.240.0130.05320.20

preferences:
58.09 ms | 401 KiB | 5 Q