3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class foo { abstract public static function x(); } class bar extends foo { public static function x() { echo 1; }} bar::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.70.0110.00718.30
8.3.60.0060.00916.38
8.3.50.0080.00817.46
8.3.40.0130.00318.60
8.3.30.0180.00018.72
8.3.20.0060.00318.56
8.3.10.0040.00418.65
8.3.00.0070.00419.13
8.2.180.0140.00716.63
8.2.170.0070.00722.96
8.2.160.0110.00418.66
8.2.150.0060.00324.18
8.2.140.0000.00724.66
8.2.130.0000.00826.16
8.2.120.0040.00421.04
8.2.110.0040.00420.39
8.2.100.0030.01017.78
8.2.90.0040.00417.50
8.2.80.0080.00018.61
8.2.70.0040.00717.63
8.2.60.0060.00317.93
8.2.50.0040.00418.07
8.2.40.0040.00419.13
8.2.30.0040.00417.47
8.2.20.0040.00417.48
8.2.10.0000.00717.53
8.2.00.0040.00417.46
8.1.280.0110.00725.92
8.1.270.0060.00323.99
8.1.260.0060.00326.35
8.1.250.0070.00728.09
8.1.240.0030.01418.80
8.1.230.0070.00317.77
8.1.220.0000.00917.74
8.1.210.0060.00318.77
8.1.200.0030.00617.00
8.1.190.0000.00817.00
8.1.180.0040.00418.10
8.1.170.0060.00318.94
8.1.160.0030.00518.99
8.1.150.0040.00418.50
8.1.140.0000.00717.25
8.1.130.0060.00319.07
8.1.120.0000.00717.39
8.1.110.0000.00717.36
8.1.100.0080.00017.29
8.1.90.0000.00717.23
8.1.80.0070.00017.36
8.1.70.0040.00417.33
8.1.60.0050.00317.51
8.1.50.0040.00417.32
8.1.40.0030.00617.34
8.1.30.0040.00417.54
8.1.20.0000.00817.59
8.1.10.0040.00417.48
8.1.00.0000.00817.50
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0050.00318.55
8.0.270.0070.00017.27
8.0.260.0000.00616.88
8.0.250.0000.00716.85
8.0.240.0000.00716.86
8.0.230.0070.00016.90
8.0.220.0000.00716.84
8.0.210.0030.00316.78
8.0.200.0030.00516.79
8.0.190.0030.00516.77
8.0.180.0000.00916.67
8.0.170.0000.00916.78
8.0.160.0000.00716.67
8.0.150.0030.00616.59
8.0.140.0000.01016.73
8.0.130.0060.00013.22
8.0.120.0030.00616.61
8.0.110.0050.00316.57
8.0.100.0040.00416.77
8.0.90.0040.00316.60
8.0.80.0100.01016.82
8.0.70.0020.00516.71
8.0.60.0040.00416.81
8.0.50.0050.00316.80
8.0.30.0150.00617.02
8.0.20.0140.00517.00
8.0.10.0000.00716.91
8.0.00.0060.01216.80
7.4.330.0050.00012.90
7.4.320.0000.00616.34
7.4.300.0030.00316.36
7.4.290.0000.00716.53
7.4.280.0000.00916.45
7.4.270.0060.00016.45
7.4.260.0000.00713.26
7.4.250.0050.00316.41
7.4.240.0030.00316.45
7.4.230.0080.00316.57
7.4.220.0110.01516.29
7.4.210.0060.01616.39
7.4.200.0000.00816.55
7.4.190.0000.00716.70
7.4.160.0130.00316.33
7.4.150.0120.00816.26
7.4.140.0130.01016.66
7.4.130.0100.00716.23
7.4.120.0030.01316.42
7.4.110.0100.01416.64
7.4.100.0110.00716.33
7.4.90.0090.01916.47
7.4.80.0110.01119.39
7.4.70.0120.00416.46
7.4.60.0200.00016.39
7.4.50.0040.00016.40
7.4.40.0030.01316.23
7.4.30.0000.01716.29
7.4.00.0060.00915.01
7.3.330.0030.00313.04
7.3.320.0050.00013.20
7.3.310.0030.00316.21
7.3.300.0000.00616.10
7.3.290.0070.01116.23
7.3.280.0150.00916.19
7.3.270.0140.00316.55
7.3.260.0060.01116.60
7.3.250.0100.01116.31
7.3.240.0130.00916.53
7.3.230.0070.01116.47
7.3.210.0120.00916.42
7.3.200.0120.00616.15
7.3.190.0100.00516.27
7.3.180.0130.00716.22
7.3.170.0030.01616.52
7.3.160.0030.01316.18
7.3.120.0090.00614.97
7.2.330.0100.00716.70
7.2.320.0040.01516.48
7.2.310.0130.00316.80
7.2.300.0130.00316.50
7.2.290.0000.02316.26
7.2.60.0040.01116.77
7.2.00.0030.01119.57
7.1.200.0030.01015.66
7.1.100.0410.01315.51
7.1.70.0030.00517.00
7.1.60.0030.02119.30
7.1.50.0040.01416.84
7.1.00.0070.04722.28
7.0.200.0040.00416.61
7.0.140.0030.07322.10
7.0.110.0200.07719.90
7.0.100.0130.07719.94
7.0.90.0130.08020.07
7.0.80.0200.04019.88
7.0.70.0070.07020.02
7.0.60.0130.04019.92
7.0.50.0130.06019.94
7.0.40.0130.04019.66
7.0.30.0070.03719.74
7.0.20.0100.07319.84
7.0.10.0070.08019.75
7.0.00.0100.08019.59
5.6.280.0030.07020.86
5.6.260.0070.07720.72
5.6.250.0000.08720.66
5.6.240.0170.07020.57
5.6.230.0130.07320.67
5.6.220.0100.06720.54
5.6.210.0130.05020.59
5.6.200.0030.04020.63
5.6.190.0070.04720.65
5.6.180.0000.04020.70
5.6.170.0170.06720.62
5.6.160.0030.08020.82
5.6.150.0000.05320.63
5.6.140.0070.03720.64
5.6.130.0030.06720.58
5.6.120.0070.03320.56
5.6.110.0000.06020.46
5.6.100.0030.08320.53
5.6.90.0070.07320.66
5.6.80.0070.07320.04
5.6.70.0130.04019.94
5.6.60.0030.04020.23
5.6.50.0070.08020.02
5.6.40.0030.06019.90
5.6.30.0130.06319.90
5.6.20.0100.06019.95
5.6.10.0070.07019.82
5.6.00.0070.04720.07
5.5.380.0100.06317.73
5.5.370.0000.04017.52
5.5.360.0000.07017.54
5.5.350.0000.04317.48
5.5.340.0070.03717.93
5.5.330.0000.04718.10
5.5.320.0000.06718.10
5.5.310.0070.04318.07
5.5.300.0100.03018.10
5.5.290.0030.04718.20
5.5.280.0030.06018.25
5.5.270.0070.03317.95
5.5.260.0030.08317.83
5.5.250.0100.07317.65
5.5.240.0130.07717.48
5.5.230.0030.04717.52
5.5.220.0070.07017.49
5.5.210.0070.08017.65
5.5.200.0070.03717.28
5.5.190.0030.05017.58
5.5.180.0000.05017.18
5.5.160.0130.04017.49
5.5.150.0000.07317.58
5.5.140.0070.03717.48
5.5.130.0070.05717.44
5.5.120.0000.06717.28
5.5.110.0070.06017.30
5.5.100.0070.07717.21
5.5.90.0000.04717.38
5.5.80.0030.03717.21
5.5.70.0070.03317.17
5.5.60.0030.04317.15
5.5.50.0070.03317.34
5.5.40.0070.04317.18
5.5.30.0030.03717.12
5.5.20.0030.03017.36
5.5.10.0030.03717.13
5.5.00.0000.04317.48
5.4.450.0000.04719.47
5.4.440.0070.07319.32
5.4.430.0030.04719.51
5.4.420.0030.06319.32
5.4.410.0030.03319.28
5.4.400.0130.06719.16
5.4.390.0000.04319.14
5.4.380.0030.04719.08
5.4.370.0070.06019.13
5.4.360.0070.04719.16
5.4.350.0030.07319.01
5.4.340.0070.07719.14
5.4.320.0000.07319.16
5.4.310.0070.06719.03
5.4.300.0100.06719.18
5.4.290.0070.05319.23
5.4.280.0030.04019.23
5.4.270.0100.04018.98
5.4.260.0070.04019.27
5.4.250.0100.04319.14
5.4.240.0100.02719.15
5.4.230.0070.03319.15
5.4.220.0030.03319.29
5.4.210.0030.06719.14
5.4.200.0000.03719.10
5.4.190.0030.03718.98
5.4.180.0070.03019.29
5.4.170.0030.04019.11
5.4.160.0100.04719.13
5.4.150.0030.06319.13
5.4.140.0070.06016.61
5.4.130.0070.03016.55
5.4.120.0000.03716.51
5.4.110.0100.07016.52
5.4.100.0100.05316.52
5.4.90.0000.06316.62
5.4.80.0070.06716.58
5.4.70.0100.06016.69
5.4.60.0000.03716.41
5.4.50.0070.07016.51
5.4.40.0030.03716.49
5.4.30.0030.03716.55
5.4.20.0100.07016.36
5.4.10.0000.06016.34
5.4.00.0130.03015.71
5.3.290.0100.05714.66
5.3.280.0000.04014.59
5.3.270.0070.03014.59
5.3.260.0030.05714.57
5.3.250.0030.05014.61
5.3.240.0000.07714.60
5.3.230.0070.05714.69
5.3.220.0030.04314.58
5.3.210.0070.04714.64
5.3.200.0030.05014.58
5.3.190.0100.06314.57
5.3.180.0000.05314.52
5.3.170.0030.06314.59
5.3.160.0070.07314.55
5.3.150.0100.06714.59
5.3.140.0070.04714.56
5.3.130.0030.05714.40
5.3.120.0100.07314.56
5.3.110.0000.06314.53
5.3.100.0030.04714.05
5.3.90.0030.03713.98
5.3.80.0000.04014.02
5.3.70.0000.04314.01
5.3.60.0030.04714.15
5.3.50.0030.06013.96
5.3.40.0030.04014.18
5.3.30.0070.06314.14
5.3.20.0030.04013.71
5.3.10.0030.05313.72
5.3.00.0100.07313.63
5.2.170.0030.03012.38
5.2.160.0030.03312.38
5.2.150.0030.06312.38
5.2.140.0030.03012.38
5.2.130.0030.03312.38
5.2.120.0030.02712.38
5.2.110.0000.03312.38
5.2.100.0030.02712.38
5.2.90.0070.05712.38
5.2.80.0070.04312.38
5.2.70.0000.05312.38
5.2.60.0070.06012.38
5.2.50.0030.05012.38
5.2.40.0000.03312.38
5.2.30.0000.03012.38
5.2.20.0000.06012.38
5.2.10.0000.03712.38
5.2.00.0000.03312.38
5.1.60.0000.04012.38
5.1.50.0100.04312.38
5.1.40.0030.02312.38
5.1.30.0030.04012.38
5.1.20.0030.02312.38
5.1.10.0070.04012.38
5.1.00.0000.02712.38
5.0.50.0070.04012.38
5.0.40.0000.04312.38
5.0.30.0000.03012.38
5.0.20.0030.02312.38
5.0.10.0070.04312.38
5.0.00.0030.05712.38
4.4.90.0000.02712.38
4.4.80.0000.02312.38
4.4.70.0000.02012.38
4.4.60.0000.02312.38
4.4.50.0030.01312.38
4.4.40.0000.03312.38
4.4.30.0000.03012.38
4.4.20.0100.02712.38
4.4.10.0000.03712.38
4.4.00.0030.02012.38
4.3.110.0070.02712.38
4.3.100.0070.01012.38
4.3.90.0000.03712.38
4.3.80.0030.04312.38
4.3.70.0030.02312.38
4.3.60.0000.02012.38
4.3.50.0000.03012.38
4.3.40.0000.04012.38
4.3.30.0000.01712.38
4.3.20.0030.02712.38
4.3.10.0000.03312.38
4.3.00.0030.03312.38

preferences:
58.59 ms | 401 KiB | 5 Q