3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { function __wakeup() { print "wakeup\n"; } } session_start(); session_decode('core|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:5:"}}test|a:2:{i:0;O:4:"Test":0:{}i:1;a:1:{i:0;s: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.0090.01216.88
8.3.50.0140.00016.59
8.3.40.0060.00918.55
8.3.30.0040.01118.71
8.3.20.0040.00420.42
8.3.10.0000.00823.61
8.3.00.0080.00023.48
8.2.180.0090.00916.63
8.2.170.0120.00322.96
8.2.160.0100.00320.39
8.2.150.0060.00324.18
8.2.140.0000.00924.66
8.2.130.0040.00419.64
8.2.120.0040.00426.35
8.2.110.0030.00620.53
8.2.100.0080.00417.78
8.2.90.0040.00419.09
8.2.80.0090.00017.97
8.2.70.0030.00617.50
8.2.60.0000.00817.93
8.2.50.0040.00418.07
8.2.40.0080.00022.24
8.2.30.0040.00419.51
8.2.20.0000.00717.66
8.2.10.0070.00018.02
8.2.00.0000.00718.08
8.1.280.0070.01425.92
8.1.270.0080.00020.37
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0070.00323.86
8.1.230.0050.00520.93
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0000.00817.35
8.1.190.0040.00417.25
8.1.180.0060.00318.10
8.1.170.0090.00018.65
8.1.160.0050.00220.73
8.1.150.0000.00718.85
8.1.140.0030.00519.41
8.1.130.0030.00317.51
8.1.120.0040.00417.42
8.1.110.0000.00717.41
8.1.100.0040.00417.42
8.1.90.0020.00517.47
8.1.80.0000.00717.32
8.1.70.0000.00817.32
8.1.60.0050.00317.57
8.1.50.0040.00417.47
8.1.40.0070.00017.47
8.1.30.0000.00817.64
8.1.20.0040.00417.55
8.1.10.0040.00417.41
8.1.00.0040.00417.27
8.0.300.0000.00818.77
8.0.290.0030.00516.63
8.0.280.0070.00018.40
8.0.270.0080.00017.21
8.0.260.0030.00317.13
8.0.250.0000.00616.88
8.0.240.0030.00516.95
8.0.230.0030.00316.98
8.0.220.0030.00316.91
8.0.210.0040.00416.84
8.0.200.0030.00316.84
8.0.190.0080.00316.89
8.0.180.0000.00816.92
8.0.170.0070.00016.82
8.0.160.0000.00716.88
8.0.150.0000.00816.92
8.0.140.0030.00716.88
8.0.130.0000.00613.26
8.0.120.0080.00016.88
8.0.110.0000.00716.95
8.0.100.0040.00416.98
8.0.90.0000.00816.95
8.0.80.0110.00316.87
8.0.70.0000.00716.98
8.0.60.0050.00316.86
8.0.50.0040.00416.74
8.0.30.0060.01017.12
8.0.20.0150.00517.40
8.0.10.0050.00316.86
8.0.00.0110.01616.81
7.4.330.0020.00216.77
7.4.320.0000.00616.37
7.4.300.0030.00316.52
7.4.290.0000.00716.46
7.4.280.0000.00816.57
7.4.270.0000.00616.61
7.4.260.0030.00316.39
7.4.250.0090.00016.42
7.4.240.0070.00016.41
7.4.230.0070.00016.54
7.4.220.0220.00616.43
7.4.210.0100.00316.39
7.4.200.0070.00016.54
7.4.160.0030.01216.56
7.4.150.0100.00717.40
7.4.140.0160.00517.86
7.4.130.0230.00016.27
7.4.120.0130.00616.51
7.4.110.0120.00616.33
7.4.100.0090.01216.47
7.4.90.0070.01016.38
7.4.80.0130.01019.39
7.4.70.0070.01016.31
7.4.60.0140.00416.47
7.4.50.0090.00616.42
7.4.40.0140.00916.49
7.4.30.0150.00716.35
7.4.00.0080.00714.96
7.3.330.0000.00513.25
7.3.320.0000.00513.23
7.3.310.0070.00016.37
7.3.300.0000.00716.07
7.3.290.0070.01016.26
7.3.280.0060.01316.29
7.3.270.0150.00317.40
7.3.260.0030.01416.33
7.3.240.0100.01216.50
7.3.230.0130.00616.40
7.3.210.0090.00916.42
7.3.200.0070.01519.39
7.3.190.0060.01116.53
7.3.180.0070.01016.42
7.3.170.0070.01116.32
7.3.160.0130.00316.59
7.3.120.0070.01314.73
7.3.110.0040.01114.54
7.3.100.0100.00714.76
7.3.90.0070.00714.93
7.3.80.0030.00914.87
7.3.70.0030.00714.82
7.3.60.0040.01214.87
7.3.50.0030.01014.61
7.3.40.0000.01414.63
7.3.30.0070.00714.85
7.3.20.0000.01116.58
7.3.10.0070.00816.57
7.3.00.0090.00516.66
7.2.330.0100.01016.64
7.2.320.0060.01216.65
7.2.310.0100.01016.46
7.2.300.0110.00616.61
7.2.290.0060.01316.60
7.2.250.0070.01314.87
7.2.240.0090.00614.99
7.2.230.0100.00314.81
7.2.220.0060.00314.91
7.2.210.0090.00914.71
7.2.200.0030.01014.79
7.2.190.0030.01014.82
7.2.180.0070.00414.74
7.2.170.0060.00314.94
7.2.130.0030.01316.65
7.2.120.0080.00416.82
7.2.110.0060.00616.66
7.2.100.0120.00016.82
7.2.90.0040.00816.63
7.2.80.0040.01116.76
7.2.70.0070.00716.75
7.2.60.0050.00916.93
7.2.50.0040.00716.63
7.2.40.0070.00416.95
7.2.30.0120.00016.86
7.2.20.0040.00716.88
7.2.10.0060.00617.03
7.2.00.0030.01018.01
7.1.330.0060.01015.88
7.1.320.0060.00915.91
7.1.310.0100.00715.82
7.1.300.0030.01015.57
7.1.290.0000.01115.55
7.1.280.0000.00915.70
7.1.270.0120.00015.41
7.1.260.0060.00315.67
7.1.250.0090.00315.49
7.1.200.0110.00015.80
7.1.100.0000.01117.96
7.1.70.0000.00717.07
7.1.60.0070.01819.27
7.1.50.0110.00016.53
7.1.00.0070.07322.35
7.0.200.0050.00216.43
7.0.60.1100.07020.02
7.0.50.0100.07717.89
7.0.40.0170.07720.26
7.0.30.0170.05020.06
7.0.20.0330.08320.16
7.0.10.0030.04320.13
7.0.00.0070.07320.12
5.6.280.0000.03720.93
5.6.210.1200.06020.80
5.6.200.0030.05318.16
5.6.190.0100.04720.58
5.6.180.0400.07720.55
5.6.170.0230.06020.47
5.6.160.0000.04320.39
5.6.150.0030.07718.25
5.6.140.0100.07318.15
5.6.130.0000.05018.14
5.6.120.0000.08721.01
5.6.110.0070.08021.14
5.6.100.0070.04320.98
5.6.90.0130.04320.99
5.6.80.0070.07320.29
5.5.350.0100.04020.38
5.5.340.0170.07318.07
5.5.330.0200.06320.21
5.5.320.0670.06320.25
5.5.310.0300.07320.50
5.5.300.0030.04017.94
5.5.290.0000.04717.95
5.5.280.0100.08320.98
5.5.270.0030.08720.80
5.5.260.0030.06020.94
5.5.250.0000.04320.50
5.5.240.0100.04320.29

preferences:
51.52 ms | 401 KiB | 5 Q