3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function e() { return (new F()) ->g([]); } public static function d($a) { return $a->b()['c']; } } ?>

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.0080.01116.63
8.3.50.0140.01021.98
8.3.40.0110.00418.72
8.3.30.0120.00318.84
8.3.20.0040.00420.07
8.3.10.0040.00423.48
8.3.00.0060.00319.00
8.2.180.0150.00616.32
8.2.170.0110.00422.96
8.2.160.0100.00320.35
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0040.00422.06
8.2.110.0060.00322.08
8.2.100.0110.00017.66
8.2.90.0050.00518.97
8.2.80.0040.00417.97
8.2.70.0100.00017.50
8.2.60.0080.00017.77
8.2.50.0050.00318.07
8.2.40.0000.00819.70
8.2.30.0070.00017.94
8.2.20.0000.00817.43
8.2.10.0000.00717.99
8.2.00.0000.00717.59
8.1.280.0120.00325.92
8.1.270.0060.00323.96
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.67
8.1.230.0080.00319.04
8.1.220.0060.00317.74
8.1.210.0030.00618.77
8.1.200.0040.00717.23
8.1.190.0040.00417.10
8.1.180.0100.00018.88
8.1.170.0040.00418.51
8.1.160.0000.00821.93
8.1.150.0030.00618.55
8.1.140.0020.00517.31
8.1.130.0000.00717.69
8.1.120.0000.00717.25
8.1.110.0000.00717.25
8.1.100.0030.00317.23
8.1.90.0020.00517.22
8.1.80.0050.00217.21
8.1.70.0030.00317.25
8.1.60.0040.00417.44
8.1.50.0000.00817.38
8.1.40.0000.00817.39
8.1.30.0030.00517.52
8.1.20.0070.00017.42
8.1.10.0000.00717.26
8.1.00.0040.00417.29
8.0.300.0000.00718.77
8.0.290.0000.00716.79
8.0.280.0070.00018.36
8.0.270.0030.00317.08
8.0.260.0000.00617.11
8.0.250.0030.00316.82
8.0.240.0000.00716.82
8.0.230.0070.00016.84
8.0.220.0030.00316.79
8.0.210.0030.00316.71
8.0.200.0060.00016.88
8.0.190.0040.00416.68
8.0.180.0000.00716.66
8.0.170.0000.00816.82
8.0.160.0070.00016.76
8.0.150.0030.00316.78
8.0.140.0050.00316.59
8.0.130.0040.00413.23
8.0.120.0040.00416.54
8.0.110.0000.00816.63
8.0.100.0070.00016.63
8.0.90.0040.00416.75
8.0.80.0090.00616.71
8.0.70.0050.00316.81
8.0.60.0040.00416.79
8.0.50.0000.00716.63
8.0.30.0060.01216.75
8.0.20.0140.00517.40
8.0.10.0040.00416.68
8.0.00.0050.01416.60
7.4.330.0020.00215.00
7.4.320.0030.00316.42
7.4.300.0060.00016.31
7.4.290.0000.00716.31
7.4.280.0000.01116.41
7.4.270.0000.00716.43
7.4.260.0030.00316.35
7.4.250.0040.00416.41
7.4.240.0030.00316.32
7.4.230.0030.00316.49
7.4.220.0070.01116.32
7.4.210.0070.00916.47
7.4.200.0070.00016.44
7.4.190.0040.00416.34
7.4.160.0060.01016.46
7.4.150.0110.00717.40
7.4.140.0120.00517.86
7.4.130.0060.01316.33
7.4.120.0080.01016.32
7.4.110.0080.00916.35
7.4.100.0060.01316.34
7.4.90.0030.01316.32
7.4.80.0110.00719.39
7.4.70.0030.01616.57
7.4.60.0040.01216.48
7.4.50.0000.00616.25
7.4.40.0110.01116.38
7.4.30.0040.01116.46
7.4.00.0110.00614.59
7.3.330.0000.00713.17
7.3.320.0030.00313.19
7.3.310.0030.00316.03
7.3.300.0000.00716.07
7.3.290.0030.01116.09
7.3.280.0090.01116.14
7.3.270.0060.00917.40
7.3.260.0040.01216.12
7.3.250.0080.01216.11
7.3.240.0060.01116.12
7.3.230.0100.00716.39
7.3.210.0120.00416.16
7.3.200.0100.00719.39
7.3.190.0130.00716.38
7.3.180.0080.00816.20
7.3.170.0120.00316.27
7.3.160.0110.00516.27
7.3.120.0070.00514.62
7.3.110.0050.01014.73
7.3.100.0080.00614.50
7.3.90.0030.00914.52
7.3.80.0020.00914.57
7.3.70.0060.00614.55
7.3.60.0060.00414.53
7.3.50.0040.01114.63
7.3.40.0050.00714.64
7.3.30.0090.00514.46
7.3.20.0050.00816.60
7.3.10.0070.00716.28
7.3.00.0070.00716.52
7.2.330.0110.01116.37
7.2.320.0100.00716.28
7.2.310.0060.00916.40
7.2.300.0000.01916.31
7.2.290.0030.01316.48
7.2.250.0060.01314.59
7.2.240.0030.01014.69
7.2.230.0070.00514.62
7.2.220.0060.00914.64
7.2.210.0030.01214.71
7.2.200.0090.00514.67
7.2.190.0030.00914.66
7.2.180.0040.01114.60
7.2.170.0070.00714.80
7.2.160.0070.01015.00
7.2.150.0070.00716.62
7.2.140.0100.00616.61
7.2.130.0000.01216.86
7.2.120.0070.00316.67
7.2.110.0030.00916.84
7.2.100.0070.00716.71
7.2.90.0070.00716.73
7.2.80.0070.00716.50
7.2.70.0090.00616.63
7.2.60.0040.00716.74
7.2.50.0080.00316.76
7.2.40.0060.00916.48
7.2.30.0030.01216.63
7.2.20.0030.01316.44
7.2.10.0060.00916.76
7.2.00.0100.00217.96
7.1.330.0060.00715.35
7.1.320.0020.01115.54
7.1.310.0030.01315.46
7.1.300.0030.00815.55
7.1.290.0040.00915.63
7.1.280.0070.00615.48
7.1.270.0000.01215.61
7.1.260.0050.00815.60
7.1.250.0000.01215.76
7.1.100.0000.00818.08
7.1.70.0100.00016.89
7.1.60.0070.01719.46
7.1.50.0070.01016.87
7.1.00.0100.07022.45
7.0.200.0430.00414.34
7.0.140.0030.07722.09
7.0.60.0170.07319.84
7.0.50.0070.06717.88
7.0.40.0030.07020.25
7.0.30.0200.04720.23
7.0.20.0100.04720.12
7.0.10.0030.05720.21
7.0.00.0070.04020.23
5.6.280.0070.07021.00
5.6.210.0070.07720.53
5.6.200.0170.07718.18
5.6.190.0000.09020.50
5.6.180.0400.06720.55
5.6.170.0270.05020.45
5.6.160.0030.09020.52
5.6.150.0100.07718.20
5.6.140.0130.05318.24
5.6.130.0070.04018.18
5.6.120.0070.03720.91
5.6.110.0000.04320.89
5.6.100.0100.08721.01
5.6.90.0030.05721.11
5.6.80.0130.04320.41
5.5.350.0130.03720.38
5.5.340.0070.08018.07
5.5.330.0070.05320.13
5.5.320.0270.03720.25
5.5.310.1370.03720.41
5.5.300.0100.03717.92
5.5.290.0070.06717.93
5.5.280.0030.08320.88
5.5.270.0100.06320.77
5.5.260.0030.08720.77
5.5.250.0070.08020.61
5.5.240.0100.07020.12
5.4.450.0170.04319.52
5.4.440.0200.05319.16
5.4.430.0300.04019.38
5.4.420.0130.05319.27
5.4.410.0200.03319.14
5.4.400.0230.03319.32
5.4.390.0170.05318.84
5.4.380.0200.03318.88
5.4.370.0200.03718.92
5.4.360.0200.03319.15
5.4.350.0170.03719.16
5.4.340.0230.03019.04
5.4.320.0170.03719.15
5.4.310.0200.03318.84
5.4.300.0200.03719.13
5.4.290.0170.03719.03
5.4.280.0170.04019.08
5.4.270.0170.04019.05
5.4.260.0270.02719.14
5.4.250.0170.03719.30
5.4.240.0230.04318.97
5.4.230.0200.04019.22
5.4.220.0170.04018.83
5.4.210.0230.03719.13
5.4.200.0170.04018.86
5.4.190.0200.03318.99
5.4.180.0070.04718.94
5.4.170.0200.03318.83
5.4.160.0000.04319.04
5.4.150.0000.04018.81
5.4.140.0230.03716.39
5.4.130.0870.03716.32
5.4.120.0970.03716.32
5.4.110.1430.04016.36
5.4.100.1270.03716.36
5.4.90.1230.04016.55
5.4.80.0000.03716.55
5.4.70.0030.03716.38
5.4.60.0000.03716.55
5.4.50.0270.04316.23
5.4.40.0370.06016.42
5.4.30.0230.06716.52
5.4.20.0300.03316.55
5.4.10.0270.03716.34
5.4.00.0300.06315.79
5.3.290.0200.04714.67
5.3.280.0330.07014.70
5.3.270.0200.07714.68
5.3.260.0200.04314.51
5.3.250.0200.06714.58
5.3.240.0230.04014.50
5.3.230.0200.03314.49
5.3.220.0200.07314.62
5.3.210.0230.07014.79
5.3.200.0200.05014.54
5.3.190.0270.03314.79
5.3.180.0200.04014.47
5.3.170.0170.07314.64
5.3.160.0170.03714.71
5.3.150.0170.03714.54
5.3.140.0130.05014.78
5.3.130.0270.08314.57
5.3.120.0230.04314.63
5.3.110.0170.03714.45
5.3.100.0370.05714.01
5.3.90.0170.04713.92
5.3.80.0100.04314.27
5.3.70.0170.04713.93
5.3.60.0170.04713.93
5.3.50.0170.03713.96
5.3.40.0170.03714.02
5.3.30.0100.05314.02
5.3.20.0100.04013.77
5.3.10.0130.03713.77
5.3.00.0230.04013.57
5.2.170.0070.04311.05
5.2.160.0170.02311.05
5.2.150.0170.04011.15
5.2.140.0130.03011.31
5.2.130.0130.03011.07
5.2.120.0270.07011.11
5.2.110.0100.03311.32
5.2.100.0070.03311.11
5.2.90.0170.02311.18
5.2.80.0170.02311.00
5.2.70.0170.02711.17
5.2.60.0170.02711.05
5.2.50.0230.04011.10
5.2.40.0100.03010.92
5.2.30.0070.03310.89
5.2.20.0070.04011.18
5.2.10.0100.03010.77
5.2.00.0170.02310.94
5.1.60.0030.0339.93
5.1.50.0170.02010.05
5.1.40.0100.0239.98
5.1.30.0170.03010.24
5.1.20.0100.03710.38
5.1.10.0100.03710.08
5.1.00.0070.0309.97
5.0.50.0030.0278.50
5.0.40.0100.0178.64
5.0.30.0070.0478.13
5.0.20.0030.0208.35
5.0.10.0070.0238.07
5.0.00.0070.0378.29
4.4.90.0100.0137.58
4.4.80.0130.0107.58
4.4.70.0030.0177.58
4.4.60.0030.0177.58
4.4.50.0070.0137.58
4.4.40.0070.0337.58
4.4.30.0000.0207.58
4.4.20.0070.0177.58
4.4.10.0070.0137.58
4.4.00.0030.0277.58
4.3.110.0070.0137.58
4.3.100.0030.0177.58
4.3.90.0070.0137.58
4.3.80.0030.0277.58
4.3.70.0070.0137.58
4.3.60.0070.0137.58
4.3.50.0030.0177.58
4.3.40.0030.0337.58
4.3.30.0030.0177.58
4.3.20.0100.0307.58
4.3.10.0030.0207.58
4.3.00.0030.0137.58

preferences:
46.06 ms | 401 KiB | 5 Q