3v4l.org

run code in 300+ PHP versions simultaneously
<?php class First extends Second{} class Second{}

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.130.0070.00316.57
8.3.120.0060.00320.64
8.3.110.0070.00320.94
8.3.100.0070.01318.04
8.3.90.0040.00426.77
8.3.80.0060.00316.50
8.3.70.0110.00718.43
8.3.60.0130.00716.25
8.3.50.0080.00721.93
8.3.40.0090.00618.48
8.3.30.0030.01018.92
8.3.20.0040.00420.07
8.3.10.0060.00321.73
8.3.00.0040.00420.84
8.2.250.0050.00316.32
8.2.240.0150.00318.98
8.2.230.0080.00022.58
8.2.220.0100.00024.06
8.2.210.0040.00426.77
8.2.200.0030.00616.25
8.2.190.0120.00916.58
8.2.180.0170.00725.92
8.2.170.0150.00022.96
8.2.160.0070.00719.07
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00719.64
8.2.110.0030.00620.35
8.2.100.0120.00017.79
8.2.90.0050.00319.05
8.2.80.0050.00317.97
8.2.70.0000.00917.63
8.2.60.0050.00317.93
8.2.50.0030.00518.10
8.2.40.0000.00818.14
8.2.30.0030.00517.97
8.2.20.0000.00717.55
8.2.10.0000.00818.04
8.2.00.0080.00017.58
8.1.300.0070.01117.64
8.1.290.0000.00830.84
8.1.280.0070.00725.92
8.1.270.0080.00020.52
8.1.260.0070.01326.35
8.1.250.0050.00328.09
8.1.240.0000.00919.25
8.1.230.0060.00621.03
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0000.00817.35
8.1.190.0000.00817.10
8.1.180.0050.00318.10
8.1.170.0050.00318.64
8.1.160.0000.00822.00
8.1.150.0040.00418.86
8.1.140.0040.00417.36
8.1.130.0030.00317.38
8.1.120.0070.00017.43
8.1.110.0000.00717.34
8.1.100.0080.00017.41
8.1.90.0070.00017.29
8.1.80.0040.00417.37
8.1.70.0040.00417.30
8.1.60.0000.01017.42
8.1.50.0000.00817.33
8.1.40.0070.00017.32
8.1.30.0000.00817.52
8.1.20.0040.00417.42
8.1.10.0030.00517.23
8.1.00.0040.00417.20
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0030.00318.37
8.0.270.0000.00717.15
8.0.260.0030.00316.65
8.0.250.0050.00216.91
8.0.240.0070.00016.92
8.0.230.0000.00716.77
8.0.220.0040.00416.78
8.0.210.0000.00716.78
8.0.200.0000.00616.83
8.0.190.0070.00016.91
8.0.180.0040.00416.90
8.0.170.0000.00816.88
8.0.160.0000.00716.80
8.0.150.0000.00716.79
8.0.140.0040.00416.79
8.0.130.0060.00013.27
8.0.120.0000.00816.76
8.0.110.0000.00816.65
8.0.100.0030.00316.70
8.0.90.0000.00716.73
8.0.80.0170.00016.77
8.0.70.0040.00416.77
8.0.60.0000.00716.72
8.0.50.0000.00816.82
8.0.30.0070.01217.03
8.0.20.0050.01417.40
8.0.10.0000.00816.98
8.0.00.0050.01116.71
7.4.330.0050.00015.03
7.4.320.0000.00616.45
7.4.300.0060.00016.53
7.4.290.0030.00316.53
7.4.280.0040.00416.42
7.4.270.0030.00316.29
7.4.260.0070.00016.30
7.4.250.0070.00016.39
7.4.240.0030.00316.40
7.4.230.0000.00716.55
7.4.220.0140.01116.41
7.4.210.0100.00616.45
7.4.200.0070.00016.33
7.4.160.0170.00316.37
7.4.150.0230.00417.40
7.4.140.0120.00517.86
7.4.130.0090.00716.33
7.4.120.0060.01016.38
7.4.110.0110.00816.52
7.4.100.0140.00316.48
7.4.90.0040.01416.55
7.4.80.0130.00316.11
7.4.70.0060.00916.46
7.4.60.0090.00616.39
7.4.50.0060.00316.37
7.4.40.0140.00316.32
7.4.30.0080.01516.40
7.4.00.0110.00414.98
7.3.330.0000.00713.09
7.3.320.0120.00013.02
7.3.310.0040.00416.04
7.3.300.0040.00416.10
7.3.290.0030.00316.29
7.3.280.0080.00916.17
7.3.270.0150.00317.40
7.3.260.0070.01016.27
7.3.250.0080.01116.32
7.3.240.0130.00316.47
7.3.230.0070.01016.50
7.3.210.0090.00616.42
7.3.200.0140.00919.39
7.3.190.0080.00816.41
7.3.180.0130.00316.25
7.3.170.0120.00916.44
7.3.160.0050.01016.42
7.3.10.0080.00616.64
7.3.00.0110.00316.46
7.2.330.0110.00716.56
7.2.320.0100.00716.44
7.2.310.0100.00616.45
7.2.300.0120.01216.23
7.2.290.0140.00916.59
7.2.130.0030.00716.80
7.2.120.0060.01016.43
7.2.110.0090.00616.44
7.2.100.0000.01416.75
7.2.90.0060.00916.57
7.2.80.0000.00916.52
7.2.70.0040.01116.55
7.2.60.0080.00816.78
7.2.50.0060.00316.58
7.2.40.0070.00716.80
7.2.30.0120.00317.03
7.2.20.0000.00916.97
7.2.10.0090.00616.69
7.2.00.0090.00616.46
7.1.250.0120.00415.49
7.1.200.0100.00315.28
7.1.70.0000.01317.13
7.1.60.0040.02119.46
7.1.50.0030.00916.93
7.1.00.0070.07322.48
7.0.200.0270.00314.75
7.0.140.0000.03722.12
7.0.60.0100.08319.78
7.0.50.0100.08017.86
7.0.40.0070.04320.23
7.0.30.0370.07720.07
7.0.20.0270.04720.12
7.0.10.0070.06320.06
7.0.00.0030.04320.16
5.6.280.0000.07720.78
5.6.210.0130.05320.66
5.6.200.0070.05318.19
5.6.190.0030.07020.63
5.6.180.3230.04020.63
5.6.170.0300.05720.45
5.6.160.0030.04320.47
5.6.150.0100.03318.15
5.6.140.0100.08018.23
5.6.130.0070.04018.17
5.6.120.0070.08721.12
5.6.110.0130.07320.98
5.6.100.0070.09021.13
5.6.90.0100.07320.96
5.6.80.0100.05720.40
5.6.70.3330.04320.36
5.5.350.0200.03320.40
5.5.340.0130.05718.07
5.5.330.0000.06720.30
5.5.320.0230.04720.27
5.5.310.0230.03720.19
5.5.300.0030.06018.03
5.5.290.0070.08018.07
5.5.280.0200.07720.80
5.5.270.0100.06020.76
5.5.260.0030.06020.95
5.5.250.0130.08320.46
5.5.240.0330.06720.25
5.4.450.0030.04019.47
5.4.440.0100.04719.33
5.4.430.0030.05319.19
5.4.420.0100.03719.40
5.4.410.0100.05019.20
5.4.400.0070.04019.16
5.4.390.0070.07018.82
5.4.380.0030.06019.08
5.4.370.0000.04718.87
5.4.360.0030.05318.87
5.4.350.0100.07018.88
5.4.340.0070.07719.15
5.4.320.0100.07019.24
5.4.310.0030.07019.12
5.4.300.0070.04718.85
5.4.290.0070.07018.97
5.4.280.0070.07719.14
5.4.270.0130.06019.02
5.4.260.0070.03719.14
5.4.250.0100.03319.16
5.4.240.0070.04719.23
5.4.230.0030.04719.00
5.4.220.0130.06019.14
5.4.210.0030.08319.24
5.4.200.0030.08019.20
5.4.190.0030.04018.84
5.4.180.0100.04019.23
5.4.170.0070.06318.84
5.4.160.0030.07718.83
5.4.150.0200.06318.89
5.4.140.0170.06016.43
5.4.130.0030.07316.45
5.4.120.0170.06316.54
5.4.110.0030.03716.32
5.4.100.0100.04316.42
5.4.90.0070.07316.48
5.4.80.0100.06716.41
5.4.70.0070.03316.40
5.4.60.0030.06016.38
5.4.50.0070.04716.37
5.4.40.0030.03716.46
5.4.30.0070.05716.50
5.4.20.0070.03316.24
5.4.10.0100.05716.41
5.4.00.0030.05015.77
5.3.290.0100.03314.54
5.3.280.0070.03314.66
5.3.270.0070.06014.64
5.3.260.0130.04714.65
5.3.250.0100.07014.60
5.3.240.0070.06714.74
5.3.230.0070.04714.64
5.3.220.0070.05314.70
5.3.210.0070.04314.61
5.3.200.0030.04314.44
5.3.190.0030.05014.70
5.3.180.0100.04014.70
5.3.170.0030.04014.55
5.3.160.0030.04314.56
5.3.150.0070.03314.55
5.3.140.0030.04014.70
5.3.130.0000.04314.56
5.3.120.0100.06014.54
5.3.110.0100.03314.55
5.3.100.0070.04314.07
5.3.90.0070.06713.94
5.3.80.0000.06314.16
5.3.70.0000.05013.93
5.3.60.0070.05314.00
5.3.50.0030.04013.86
5.3.40.0030.08313.97
5.3.30.0070.07713.95
5.3.20.0070.04313.65
5.3.10.0030.03713.68
5.3.00.0030.06013.63
5.2.170.0000.03311.20
5.2.160.0030.02711.10
5.2.150.0070.06311.14
5.2.140.0070.03011.02
5.2.130.0000.03011.05
5.2.120.0070.05711.15
5.2.110.0000.03311.14
5.2.100.0100.05711.04
5.2.90.0130.03011.16
5.2.80.0070.03711.16
5.2.70.0030.03011.14
5.2.60.0070.04311.18
5.2.50.0130.02311.05
5.2.40.0000.06310.98
5.2.30.0030.06010.97
5.2.20.0030.04010.95
5.2.10.0030.06010.91
5.2.00.0000.06310.75
5.1.60.0070.0509.89
5.1.50.0030.05310.00
5.1.40.0030.03010.03
5.1.30.0070.04310.33
5.1.20.0000.06710.34
5.1.10.0100.05010.11
5.1.00.0070.03310.08
5.0.50.0070.0278.55
5.0.40.0070.0378.54
5.0.30.0030.0438.37
5.0.20.0030.0338.16
5.0.10.0030.0438.30
5.0.00.0030.0478.14
4.4.90.0070.0337.69
4.4.80.0030.0237.69
4.4.70.0000.0377.69
4.4.60.0000.0207.69
4.4.50.0000.0407.69
4.4.40.0030.0537.69
4.4.30.0030.0337.69
4.4.20.0000.0207.69
4.4.10.0000.0307.69
4.4.00.0070.0507.69
4.3.110.0070.0277.69
4.3.100.0000.0377.69
4.3.90.0000.0207.69
4.3.80.0000.0337.69
4.3.70.0000.0277.69
4.3.60.0030.0177.69
4.3.50.0000.0307.69
4.3.40.0030.0537.69
4.3.30.0000.0377.69
4.3.20.0000.0377.69
4.3.10.0000.0307.69
4.3.00.0000.0377.69

preferences:
55.17 ms | 403 KiB | 5 Q