3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { function __wakeup() { print "wakeup\n"; } } session_start(); session_decode('core|a:5:{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:15:"just_voted_poll";b:0;s:12:"visitor_data";a:16:{s:0:"";N;s:11:"server_addr";i:2130706433;s:11:"remote_addr";i:2130706433;s:11:"http_secure";b:0;s:9:"http_host";s:9:"127.0.0.1";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:18:"/magento/index.php";s:10:"session_id";s:4:"oooo";s:12:"http_referer";s:0:"";s:14:"first_visit_at";s:19:"2015-12-18 16:10:10";s:14:"is_new_visitor";b:0;s:13:"last_visit_at";s:19:"2015-12-18 16:10:11";s:10:"visitor_id";s:2:"47";s:11:"last_url_id";s:3:"176";}s:8:"last_url";s:51:"http://127.0.0.1/magento/index.php/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: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:27:"catalog_compare_items_count";i:0;}reports|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:28:"product_index_compared_count";i:0;s:26:"product_index_viewed_count";i: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.40.0120.00318.75
8.3.30.0040.01118.64
8.3.20.0000.00720.34
8.3.10.0080.00021.51
8.3.00.0040.00423.66
8.2.170.0040.01222.96
8.2.160.0100.01020.39
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0060.00326.16
8.2.120.0030.00519.76
8.2.110.0060.00319.31
8.2.100.0060.00617.91
8.2.90.0060.00319.05
8.2.80.0080.00017.97
8.2.70.0030.00717.50
8.2.60.0080.00017.80
8.2.50.0000.00918.07
8.2.40.0090.00022.32
8.2.30.0030.00319.30
8.2.20.0000.00717.63
8.2.10.0030.00518.06
8.2.00.0040.00417.93
8.1.270.0060.00920.08
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00020.74
8.1.230.0110.00019.04
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0040.00418.58
8.1.160.0030.00520.59
8.1.150.0040.00418.71
8.1.140.0030.00519.57
8.1.130.0040.00417.64
8.1.120.0020.00517.46
8.1.110.0000.00717.30
8.1.100.0040.00417.29
8.1.90.0030.00517.38
8.1.80.0020.00517.32
8.1.70.0030.00317.41
8.1.60.0100.00317.53
8.1.50.0030.00517.41
8.1.40.0040.00417.43
8.1.30.0040.00417.44
8.1.20.0000.00817.48
8.1.10.0000.00817.39
8.1.00.0030.00617.34
8.0.300.0080.00018.77
8.0.290.0000.00816.75
8.0.280.0040.00418.31
8.0.270.0040.00417.20
8.0.260.0060.00017.12
8.0.250.0030.00316.88
8.0.240.0040.00416.96
8.0.230.0050.00216.93
8.0.220.0060.00316.80
8.0.210.0000.00716.81
8.0.200.0060.00016.97
8.0.190.0080.00417.05
8.0.180.0000.00716.77
8.0.170.0040.00416.98
8.0.160.0040.00416.93
8.0.150.0000.00716.85
8.0.140.0040.00416.71
8.0.130.0030.00313.28
8.0.120.0040.00416.90
8.0.110.0080.00016.84
8.0.100.0000.00816.85
8.0.90.0000.00716.91
8.0.80.0060.01216.83
8.0.70.0050.00216.93
8.0.60.0000.00816.96
8.0.50.0080.00016.93
8.0.30.0050.01516.93
8.0.20.0120.00717.40
8.0.10.0040.00417.02
8.0.00.0090.01016.85
7.4.330.0050.00016.82
7.4.320.0000.00716.45
7.4.300.0000.00716.36
7.4.290.0030.00316.43
7.4.280.0030.00616.51
7.4.270.0000.00716.41
7.4.260.0000.00716.55
7.4.250.0040.00416.41
7.4.240.0040.00316.51
7.4.230.0040.00416.35
7.4.220.0090.01216.55
7.4.210.0040.01116.57
7.4.200.0000.00716.45
7.4.160.0060.01016.31
7.4.150.0140.00417.40
7.4.140.0070.01217.86
7.4.130.0100.01116.47
7.4.120.0110.00616.44
7.4.110.0090.01516.29
7.4.100.0150.00316.30
7.4.90.0060.01216.47
7.4.80.0060.00919.39
7.4.70.0030.01416.36
7.4.60.0070.01016.33
7.4.50.0070.00716.34
7.4.40.0060.01216.38
7.4.30.0120.00916.67
7.4.10.0100.01015.02
7.4.00.0050.01414.84
7.3.330.0000.00513.11
7.3.320.0000.00513.21
7.3.310.0000.00716.22
7.3.300.0030.00316.27
7.3.290.0150.00516.26
7.3.280.0050.01516.23
7.3.270.0170.00617.40
7.3.260.0100.01416.48
7.3.240.0100.01016.42
7.3.230.0160.00016.49
7.3.210.0060.01216.44
7.3.200.0080.00919.39
7.3.190.0150.00816.41
7.3.180.0130.00316.48
7.3.170.0060.01416.56
7.3.160.0180.00416.32
7.3.130.0070.01114.95
7.3.120.0110.00914.79
7.3.110.0100.00814.87
7.3.100.0070.00914.75
7.3.90.0070.00714.72
7.3.80.0060.00914.70
7.3.70.0020.01114.70
7.3.60.0070.00914.85
7.3.50.0050.00814.71
7.3.40.0080.00614.73
7.3.30.0080.00714.72
7.3.20.0050.00816.55
7.3.10.0040.00816.63
7.3.00.0080.00416.63
7.2.330.0130.00416.63
7.2.320.0110.00616.24
7.2.310.0090.00916.70
7.2.300.0150.00816.61
7.2.290.0110.01316.37
7.2.260.0100.00614.94
7.2.250.0070.01314.97
7.2.240.0030.01314.89
7.2.230.0080.00714.99
7.2.220.0050.01114.89
7.2.210.0050.00914.76
7.2.200.0050.00714.76
7.2.190.0040.01014.85
7.2.180.0040.01114.93
7.2.170.0090.00514.85
7.2.160.0140.00014.81
7.2.150.0090.00616.72
7.2.140.0030.01316.54
7.2.130.0000.01416.57
7.2.120.0060.00316.87
7.2.110.0080.00416.77
7.2.100.0040.01116.59
7.2.90.0030.01316.92
7.2.80.0070.01016.79
7.2.70.0070.01116.94
7.2.60.0080.00316.80
7.2.50.0070.00716.78
7.2.40.0030.01216.93
7.2.30.0030.01016.94
7.2.20.0030.01216.66
7.2.10.0000.01516.75
7.2.00.0050.00918.09
7.1.330.0050.00915.65
7.1.320.0050.01215.57
7.1.310.0060.00715.69
7.1.300.0050.01015.42
7.1.290.0050.00815.63
7.1.280.0050.00815.68
7.1.270.0060.00515.71
7.1.260.0050.00715.56
7.1.250.0000.01315.84
7.1.240.0050.00515.78
7.1.230.0030.01315.43
7.1.220.0040.01115.71
7.1.210.0030.00915.51
7.1.200.0050.00915.56
7.1.190.0090.00915.71
7.1.180.0070.00715.45
7.1.170.0040.00815.71
7.1.160.0150.00015.77
7.1.150.0030.01215.72
7.1.140.0040.01215.73
7.1.130.0070.00715.78
7.1.120.0070.00315.73
7.1.110.0000.01115.49
7.1.100.0050.00516.82
7.1.90.0070.01015.84
7.1.80.0070.00715.68
7.1.70.0040.00616.30
7.1.60.0030.01517.51
7.1.50.0030.00916.33
7.1.40.0070.01015.61
7.1.30.0110.00315.79
7.1.20.0060.00915.69
7.1.10.0040.00815.51
7.1.00.0040.04418.98
7.0.330.0050.00315.34
7.0.320.0090.00015.37
7.0.310.0090.00615.50
7.0.300.0030.01215.38
7.0.290.0000.00815.34
7.0.280.0070.00715.36
7.0.270.0070.00715.30
7.0.260.0060.00615.22
7.0.250.0060.00615.34
7.0.240.0000.01015.20
7.0.230.0080.00615.46
7.0.220.0060.00615.16
7.0.210.0080.00315.27
7.0.200.0070.00616.00
7.0.190.0030.00915.42
7.0.180.0000.01115.15
7.0.170.0060.00915.35
7.0.160.0040.00815.35
7.0.150.0060.00615.34
7.0.140.0050.00515.39
7.0.130.0060.00615.50
7.0.120.0030.00915.39
7.0.110.0000.00815.29
7.0.100.0000.00815.51
7.0.90.0090.00315.05
7.0.80.0030.00715.41
7.0.70.0030.01014.99
7.0.60.0700.03917.71
7.0.50.0090.04116.60
7.0.40.0040.03116.76
7.0.30.0140.04116.84
7.0.20.0230.03816.77
7.0.10.0070.02816.58
7.0.00.0080.03016.62
5.6.400.0030.00614.54
5.6.390.0000.00914.19
5.6.380.0000.01114.19
5.6.370.0070.00714.09
5.6.360.0050.00814.24
5.6.350.0070.00714.19
5.6.340.0110.00314.43
5.6.330.0000.01214.07
5.6.320.0070.00314.09
5.6.310.0050.00514.13
5.6.300.0030.01014.38
5.6.290.0100.00314.35
5.6.280.0060.02017.79
5.6.270.0060.00914.35
5.6.260.0080.00414.08
5.6.250.0070.01014.53
5.6.240.0000.01614.16
5.6.230.0030.01314.26
5.6.220.0000.01214.43
5.6.210.0070.03417.57
5.6.200.0080.04316.28
5.6.190.0070.04417.37
5.6.180.0210.02217.23
5.6.170.0180.03017.23
5.6.160.0050.02517.41
5.6.150.0020.02716.27
5.6.140.0060.04116.11
5.6.130.0050.04516.19
5.6.120.0030.03317.62
5.6.110.0020.04317.67
5.6.100.0060.04817.63
5.6.90.0030.02817.75
5.6.80.0000.04817.34
5.6.70.0000.00914.36
5.6.60.0070.00314.30
5.6.50.0060.01214.15
5.6.40.0070.01014.08
5.6.30.0060.01014.12
5.6.20.0040.01114.29
5.6.10.0070.00714.29
5.6.00.0050.00514.31
5.5.380.0040.01114.40
5.5.370.0030.00914.11
5.5.360.0070.00714.04
5.5.350.0050.04117.10
5.5.340.0080.04116.17
5.5.330.0020.02917.31
5.5.320.0180.03017.20
5.5.310.0220.03817.34
5.5.300.0060.02315.95
5.5.290.0090.02316.04
5.5.280.0050.04617.53
5.5.270.0050.04717.57
5.5.260.0030.05017.50
5.5.250.0050.04117.27
5.5.240.0070.02117.08
5.5.230.0090.00614.18
5.5.220.0030.01213.76
5.5.210.0070.00713.98
5.5.200.0070.00714.05
5.5.190.0060.00914.27
5.5.180.0030.01313.89
5.5.170.0030.00714.16
5.5.160.0000.00814.16
5.5.150.0080.00413.96
5.5.140.0060.00913.94
5.5.130.0100.00314.08
5.5.120.0080.00614.32
5.5.110.0090.00313.91
5.5.100.0060.00314.15
5.5.90.0100.00613.97
5.5.80.0030.00813.79
5.5.70.0060.00613.92
5.5.60.0040.01114.28
5.5.50.0030.01314.25
5.5.40.0030.00913.85
5.5.30.0050.00514.17
5.5.20.0090.00613.96
5.5.10.0140.00014.11
5.5.00.0060.00614.04

preferences:
47.18 ms | 400 KiB | 5 Q