3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Foo { abstract public function doIt(); } class ConcreteFoo extends Foo { public function doIt() {} } $foo - new Foo;

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.0120.00918.54
8.3.50.0170.00016.24
8.3.40.0000.01518.84
8.3.30.0110.00418.72
8.3.20.0070.00020.21
8.3.10.0050.00223.52
8.3.00.0070.00017.91
8.2.180.0110.00718.26
8.2.170.0070.00722.96
8.2.160.0040.01119.18
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0090.00317.38
8.2.110.0100.00022.04
8.2.100.0090.00317.93
8.2.90.0040.00419.22
8.2.80.0000.00817.97
8.2.70.0030.00517.60
8.2.60.0060.00317.93
8.2.50.0030.00518.07
8.2.40.0040.00419.21
8.2.30.0040.00422.41
8.2.20.0000.00817.54
8.2.10.0000.00717.94
8.2.00.0070.00017.98
8.1.270.0060.00322.21
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0030.00622.52
8.1.230.0120.00017.42
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0050.00517.35
8.1.190.0030.00617.10
8.1.180.0050.00318.10
8.1.170.0060.00318.36
8.1.160.0050.00221.93
8.1.150.0000.00818.66
8.1.140.0000.00817.33
8.1.130.0000.00817.55
8.1.120.0040.00417.24
8.1.110.0040.00417.21
8.1.100.0000.00717.34
8.1.90.0050.00217.33
8.1.80.0070.00017.32
8.1.70.0030.00317.19
8.1.60.0000.00817.35
8.1.50.0030.00517.42
8.1.40.0050.00317.48
8.1.30.0030.00517.53
8.1.20.0060.00317.63
8.1.10.0000.00717.46
8.1.00.0040.00417.45
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0080.00018.41
8.0.270.0070.00017.21
8.0.260.0030.00317.18
8.0.250.0040.00416.98
8.0.240.0030.00516.91
8.0.230.0040.00416.98
8.0.220.0070.00016.78
8.0.210.0000.00816.86
8.0.200.0040.00416.82
8.0.190.0030.00516.92
8.0.180.0050.00316.79
8.0.170.0000.00716.89
8.0.160.0070.00016.85
8.0.150.0030.00316.71
8.0.140.0000.00716.72
8.0.130.0000.00613.39
8.0.120.0030.00516.73
8.0.110.0030.00416.92
8.0.100.0000.00816.78
8.0.90.0000.00716.75
8.0.80.0040.01216.88
8.0.70.0040.00416.84
8.0.60.0030.00316.78
8.0.50.0040.00416.69
8.0.30.0120.00716.94
8.0.20.0090.01017.40
8.0.10.0040.00416.82
8.0.00.0090.00816.79
7.4.330.0030.00315.08
7.4.320.0000.00716.46
7.4.300.0000.00616.47
7.4.290.0060.00016.52
7.4.280.0040.00416.47
7.4.270.0070.00016.45
7.4.260.0000.00716.31
7.4.250.0040.00416.40
7.4.240.0030.00316.52
7.4.230.0070.00016.59
7.4.220.0120.00816.57
7.4.210.0120.00616.46
7.4.200.0030.00316.32
7.4.160.0030.01516.61
7.4.150.0100.00817.40
7.4.140.0190.00317.86
7.4.130.0080.00916.53
7.4.120.0080.01016.50
7.4.110.0090.00916.55
7.4.100.0120.00616.50
7.4.90.0070.01016.34
7.4.80.0150.00319.39
7.4.70.0120.00616.57
7.4.60.0100.00716.29
7.4.50.0000.00716.10
7.4.40.0140.00316.44
7.4.30.0120.00916.65
7.4.00.0090.00914.93
7.3.330.0040.00213.11
7.3.320.0030.00313.22
7.3.310.0040.00416.37
7.3.300.0000.00716.25
7.3.290.0080.00916.27
7.3.280.0100.00616.29
7.3.270.0140.00317.40
7.3.260.0170.00316.52
7.3.250.0120.00416.40
7.3.240.0130.01016.22
7.3.230.0060.01116.39
7.3.210.0130.00616.36
7.3.200.0140.00816.23
7.3.190.0060.01216.30
7.3.180.0030.01316.35
7.3.170.0000.02316.29
7.3.160.0030.01316.38
7.3.120.0110.00714.85
7.3.110.0140.00414.82
7.3.100.0060.00615.01
7.3.90.0110.00714.90
7.3.80.0100.00314.75
7.3.70.0030.00914.77
7.3.60.0060.01314.79
7.3.50.0070.00314.54
7.3.40.0040.00414.79
7.3.30.0040.01114.82
7.3.20.0000.00916.60
7.3.10.0070.00716.58
7.3.00.0040.00416.59
7.2.330.0110.00716.39
7.2.320.0100.01316.54
7.2.310.0070.01016.47
7.2.300.0040.01116.58
7.2.290.0060.01416.28
7.2.250.0070.00815.15
7.2.240.0040.01414.82
7.2.230.0090.00614.80
7.2.220.0070.01014.91
7.2.210.0120.00315.02
7.2.200.0120.00314.72
7.2.190.0030.01314.51
7.2.180.0070.00714.62
7.2.170.0090.00614.69
7.2.60.0040.01116.76
7.2.00.0040.01119.13
7.1.330.0040.01115.77
7.1.320.0040.00815.83
7.1.310.0060.00615.32
7.1.300.0060.01315.61
7.1.290.0000.01215.59
7.1.280.0070.01015.59
7.1.270.0100.00715.68
7.1.260.0030.00615.65
7.1.200.0040.00815.62
7.1.100.0000.01417.93
7.1.70.0000.00716.98
7.1.60.0040.01519.19
7.1.50.0120.00316.84
7.1.00.0030.07722.31
7.0.200.0030.00616.83
7.0.60.0070.08320.03
7.0.50.0070.05017.73
7.0.40.0030.04319.97
7.0.30.0230.08720.07
7.0.20.0330.05320.06
7.0.10.0230.07320.16
7.0.00.0130.08320.11
5.6.280.0000.03320.87
5.6.210.0200.06720.51
5.6.200.0100.05318.23
5.6.190.0030.06020.60
5.6.180.0230.07720.44
5.6.170.0370.07020.55
5.6.160.0100.05020.54
5.6.150.0030.09318.15
5.6.140.0000.04018.22
5.6.130.0000.06318.25
5.6.120.0030.04320.96
5.6.110.0030.09021.11
5.6.100.0130.05020.96
5.6.90.0100.07021.11
5.6.80.0100.07720.44
5.6.70.0270.07320.35
5.5.350.0100.03320.44
5.5.340.0070.04317.98
5.5.330.0070.03720.25
5.5.320.0070.04320.30
5.5.310.0270.07720.30
5.5.300.0030.04017.98
5.5.290.0130.06717.99
5.5.280.0100.08320.77
5.5.270.0030.04720.80
5.5.260.0130.07020.80
5.5.250.0070.08020.46
5.5.240.0130.06320.15
5.4.450.1230.00019.59
5.4.440.1230.00019.46
5.4.430.1070.00019.44
5.4.420.1070.00019.62
5.4.410.1230.00019.50
5.4.400.1170.00019.13
5.4.390.1230.00019.31
5.4.380.1130.00019.12
5.4.370.1170.00018.84
5.4.360.1230.00019.11
5.4.350.1200.00019.14
5.4.340.1200.00018.84
5.4.320.1300.00019.22
5.4.310.1300.00019.13
5.4.300.1270.00019.14
5.4.290.1030.00019.24
5.4.280.1030.00019.22
5.4.270.1030.00019.14
5.4.260.1030.00019.14
5.4.250.1030.00019.36
5.4.240.1030.00018.95
5.4.230.1030.00019.05
5.4.220.1130.00019.26
5.4.210.1070.00019.14
5.4.200.1030.00019.26
5.4.190.1030.00019.13
5.4.180.1300.00019.13
5.4.170.1200.00018.94
5.4.160.1400.00019.10
5.4.150.1200.00019.10
5.4.140.1170.00016.47
5.4.130.1130.00016.61
5.4.120.1170.00016.53
5.4.110.1170.00016.25
5.4.100.1200.00016.69
5.4.90.1130.00016.64
5.4.80.1470.00016.46
5.4.70.0030.03316.33
5.4.60.0030.07316.48
5.4.50.0070.03016.43
5.4.40.0030.05316.55
5.4.30.0000.06316.48
5.4.20.0170.03716.52
5.4.10.0270.04016.44

preferences:
54.13 ms | 400 KiB | 5 Q