3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A{ static function x() { echo 'xxx'; } } class B extends A { static function x() { echo 'xxx'; parent::x(); } } B::x();

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.0100.01018.43
8.3.50.0180.00221.21
8.3.40.0110.00418.69
8.3.30.0110.00418.54
8.3.20.0080.00018.68
8.3.10.0040.00420.40
8.3.00.0030.00623.48
8.2.180.0060.01616.63
8.2.170.0090.00522.96
8.2.160.0070.00720.87
8.2.150.0000.00924.18
8.2.140.0040.00824.66
8.2.130.0070.00026.16
8.2.120.0000.00819.25
8.2.110.0100.00021.03
8.2.100.0110.00417.72
8.2.90.0040.00419.22
8.2.80.0000.00718.04
8.2.70.0040.00417.47
8.2.60.0030.00617.80
8.2.50.0110.00418.07
8.2.40.0050.00318.22
8.2.30.0040.00717.99
8.2.20.0070.00017.53
8.2.10.0050.00317.54
8.2.00.0040.00417.68
8.1.280.0180.00325.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00922.32
8.1.230.0060.00621.02
8.1.220.0000.00818.77
8.1.210.0000.00918.91
8.1.200.0070.00317.23
8.1.190.0070.00017.53
8.1.180.0000.00818.10
8.1.170.0000.00918.71
8.1.160.0000.00718.73
8.1.150.0080.00018.53
8.1.140.0040.00417.30
8.1.130.0030.00317.66
8.1.120.0070.00017.29
8.1.110.0000.00717.30
8.1.100.0030.00417.22
8.1.90.0040.00417.22
8.1.80.0070.00017.32
8.1.70.0070.00017.29
8.1.60.0000.00817.52
8.1.50.0030.00617.34
8.1.40.0070.00017.32
8.1.30.0030.00617.57
8.1.20.0000.00817.64
8.1.10.0040.00417.46
8.1.00.0040.00417.37
8.0.300.0040.00419.98
8.0.290.0000.00716.63
8.0.280.0000.00818.42
8.0.270.0040.00417.26
8.0.260.0000.00616.76
8.0.250.0000.00716.80
8.0.240.0040.00516.88
8.0.230.0030.00316.94
8.0.220.0030.00316.86
8.0.210.0080.00016.81
8.0.200.0000.00616.80
8.0.190.0050.00216.84
8.0.180.0040.00416.82
8.0.170.0040.00416.71
8.0.160.0060.00616.78
8.0.150.0030.00716.83
8.0.140.0100.00016.84
8.0.130.0000.00613.27
8.0.120.0000.00816.78
8.0.110.0070.00016.72
8.0.100.0070.00016.61
8.0.90.0040.00416.59
8.0.80.0070.01016.73
8.0.70.0000.00716.76
8.0.60.0000.00716.54
8.0.50.0000.00716.68
8.0.30.0120.00916.97
8.0.20.0120.01017.40
8.0.10.0000.00716.77
8.0.00.0060.01216.67
7.4.330.0030.00314.72
7.4.320.0060.00016.55
7.4.300.0030.00316.54
7.4.290.0000.00716.59
7.4.280.0000.00716.50
7.4.270.0040.00416.50
7.4.260.0060.00013.24
7.4.250.0080.00016.41
7.4.240.0040.00416.50
7.4.230.0080.00016.67
7.4.220.0100.00716.38
7.4.210.0100.00716.44
7.4.200.0030.00316.53
7.4.190.0000.00716.69
7.4.160.0150.00316.51
7.4.150.0060.01317.40
7.4.140.0140.00617.86
7.4.130.0050.01516.49
7.4.120.0080.01016.41
7.4.110.0100.00716.55
7.4.100.0100.00716.49
7.4.90.0130.01016.43
7.4.80.0110.00719.04
7.4.70.0090.00916.56
7.4.60.0100.00816.43
7.4.50.0000.00616.04
7.4.40.0060.00922.27
7.4.30.0070.01316.36
7.4.00.0080.00814.86
7.3.330.0050.00013.23
7.3.320.0000.00713.06
7.3.310.0050.00316.13
7.3.300.0030.00316.11
7.3.290.0130.00616.14
7.3.280.0110.00616.21
7.3.270.0090.00917.40
7.3.260.0120.00918.24
7.3.250.0090.01116.18
7.3.240.0100.00716.31
7.3.230.0120.00616.39
7.3.210.0160.00016.52
7.3.200.0070.01019.39
7.3.190.0030.01416.23
7.3.180.0030.01316.16
7.3.170.0080.00816.27
7.3.160.0100.00616.37
7.3.120.0040.01214.92
7.3.10.0040.01116.67
7.3.00.0030.01216.75
7.2.330.0100.00716.45
7.2.320.0140.00316.31
7.2.310.0140.01016.74
7.2.300.0100.01016.47
7.2.290.0100.00716.53
7.2.130.0120.00316.75
7.2.120.0060.00916.77
7.2.110.0030.01016.76
7.2.100.0100.00316.92
7.2.90.0090.00316.81
7.2.80.0070.00316.45
7.2.70.0130.00316.61
7.2.60.0070.00516.75
7.2.50.0140.00016.83
7.2.40.0080.00416.85
7.2.30.0060.00916.87
7.2.20.0160.00316.75
7.2.10.0110.00416.62
7.2.00.0050.00818.06
7.1.250.0110.00015.83
7.1.200.0060.00315.75
7.1.100.0040.00817.75
7.1.70.0040.00417.07
7.1.60.0200.00319.40
7.1.50.0030.01416.91
7.1.00.0000.04022.48
7.0.200.0030.00316.77
7.0.140.0000.07722.05
7.0.60.0130.07319.86
7.0.50.0130.07317.80
7.0.40.0070.07717.72
7.0.30.0030.05717.69
7.0.20.0000.07317.69
7.0.10.0070.04017.70
7.0.00.0000.06717.72
5.6.280.0000.07321.14
5.6.210.0130.03320.46
5.6.200.0070.05318.12
5.6.190.0100.06718.15
5.6.180.0070.08018.18
5.6.170.0070.04318.16
5.6.160.0030.07318.12
5.6.150.0070.07318.25
5.6.140.0070.04718.24
5.6.130.0030.04018.15
5.6.120.0030.04018.18
5.6.110.0030.04018.13
5.6.100.0030.04018.17
5.6.90.0070.03718.21
5.6.80.0000.04017.67
5.6.70.0070.03317.61
5.6.60.0030.03717.53
5.6.50.0070.03317.52
5.6.40.0100.03017.50
5.6.30.0030.03717.50
5.6.20.0070.03317.53
5.6.10.0100.03017.64
5.6.00.0100.03017.63
5.5.350.3800.03320.44
5.5.340.0000.05717.98
5.5.330.0030.08717.94
5.5.320.0070.06318.09
5.5.310.0070.04318.01
5.5.300.0030.04017.98
5.5.290.0030.04018.07
5.5.280.0100.05718.04
5.5.270.0070.03718.01
5.5.260.0000.04318.01
5.5.250.0000.04017.73
5.5.240.0000.04017.36
5.5.230.0030.03717.33
5.5.220.0000.04017.36
5.5.210.0070.03317.37
5.5.200.0030.03717.35
5.5.190.0000.04017.29
5.5.180.0070.03717.31
5.5.160.0000.04017.30
5.5.150.0030.03717.38
5.5.140.0070.03317.43
5.5.130.0030.03717.32
5.5.120.0000.04017.37
5.5.110.0070.03317.28
5.5.100.0000.04017.30
5.5.90.0000.04317.33
5.5.80.0030.06017.20
5.5.70.0030.08017.19
5.5.60.0070.05717.23
5.5.50.0070.03717.23
5.5.40.0030.03717.25
5.5.30.0030.04017.28
5.5.20.0070.04717.22
5.5.10.0100.05717.32
5.5.00.0070.07717.18
5.4.450.0070.03719.37
5.4.440.0100.03319.43
5.4.430.0030.03719.36
5.4.420.0000.05319.34
5.4.410.0000.04019.27
5.4.400.0070.03319.14
5.4.390.0030.03719.05
5.4.380.0030.03719.02
5.4.370.0070.03319.05
5.4.360.0000.04019.13
5.4.350.0070.03319.05
5.4.340.0070.03319.05
5.4.320.0070.03319.05
5.4.310.0130.03319.05
5.4.300.0030.03719.04
5.4.290.0030.03718.95
5.4.280.0070.04318.95
5.4.270.0030.03718.88
5.4.260.0000.04019.09
5.4.250.0030.03719.07
5.4.240.0100.05719.04
5.4.230.0000.07318.88
5.4.220.0100.04019.09
5.4.210.0030.04019.04
5.4.200.0000.04019.01
5.4.190.0000.05319.00
5.4.180.0030.05319.02
5.4.170.0030.06719.04
5.4.160.0100.05318.99
5.4.150.0000.04319.15
5.4.140.0000.04016.45
5.4.130.0030.04316.48
5.4.120.0070.04316.44
5.4.110.0100.03316.48
5.4.100.0000.04016.43
5.4.90.0070.07716.37
5.4.80.0100.05316.38
5.4.70.0000.05716.34
5.4.60.0030.07316.44
5.4.50.0100.06316.46
5.4.40.0000.04316.55
5.4.30.0070.07016.42
5.4.20.0070.04016.47
5.4.10.0030.06716.45
5.4.00.0030.04015.87
5.3.290.0000.04014.77
5.3.280.0100.05714.81
5.3.270.0070.07014.65
5.3.260.0000.05014.64
5.3.250.0070.05714.82
5.3.240.0030.07714.64
5.3.230.0030.08014.64
5.3.220.0100.04014.53
5.3.210.0000.04314.61
5.3.200.0000.04014.56
5.3.190.0100.07314.60
5.3.180.0030.07014.78
5.3.170.0030.08014.54
5.3.160.0000.06314.61
5.3.150.0030.05314.60
5.3.140.0030.07714.57
5.3.130.0100.06714.58
5.3.120.0030.08314.54
5.3.110.0100.08014.51
5.3.100.0030.05314.09
5.3.90.0070.07314.12
5.3.80.0200.05714.04
5.3.70.0070.06014.02
5.3.60.0030.07714.01
5.3.50.0070.07713.79
5.3.40.0070.05314.03
5.3.30.0130.05013.92
5.3.20.0070.07013.68
5.3.10.0100.03013.55
5.3.00.0100.07013.66
5.2.170.0030.04011.11
5.2.160.0030.06711.05
5.2.150.0070.03011.19
5.2.140.0070.03711.03
5.2.130.0100.03711.16
5.2.120.0030.03311.07
5.2.110.0000.04011.17
5.2.100.0000.04311.09
5.2.90.0030.05311.00
5.2.80.0030.03011.06
5.2.70.0100.05710.99
5.2.60.0100.06011.11
5.2.50.0030.06711.01
5.2.40.0030.06311.06
5.2.30.0000.06311.04
5.2.20.0070.05010.95
5.2.10.0070.06010.76
5.2.00.0070.04310.76
5.1.60.0070.0579.98
5.1.50.0070.0339.94
5.1.40.0070.0279.95
5.1.30.0070.02710.55
5.1.20.0070.03710.59
5.1.10.0000.03010.13
5.1.00.0100.02010.28
5.0.50.0030.0308.61
5.0.40.0030.0478.45
5.0.30.0070.0278.38
5.0.20.0030.0238.38
5.0.10.0000.0378.38
5.0.00.0030.0338.38
4.4.90.0000.0378.38
4.4.80.0030.0378.38
4.4.70.0030.0378.38
4.4.60.0030.0278.38
4.4.50.0000.0378.38
4.4.40.0070.0438.38
4.4.30.0000.0238.38
4.4.20.0000.0208.38
4.4.10.0000.0178.38
4.4.00.0030.0278.38
4.3.110.0000.0408.38
4.3.100.0000.0338.38
4.3.90.0030.0278.38
4.3.80.0030.0338.38
4.3.70.0000.0338.38
4.3.60.0030.0338.38
4.3.50.0030.0378.38
4.3.40.0030.0438.38
4.3.30.0030.0338.38
4.3.20.0000.0208.38
4.3.10.0000.0208.38
4.3.00.0000.0178.38

preferences:
51.11 ms | 401 KiB | 5 Q