3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { function asd(self $a){} } class B extends A { function asd(self $a) {} }

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.0090.00918.55
8.3.50.0110.00721.92
8.3.40.0140.00018.87
8.3.30.0110.00418.96
8.3.20.0070.00020.09
8.3.10.0080.00021.98
8.3.00.0090.00619.00
8.2.180.0040.01218.54
8.2.170.0120.00618.82
8.2.160.0080.00622.96
8.2.150.0060.00324.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00919.55
8.2.110.0030.00622.00
8.2.100.0080.00420.35
8.2.90.0000.00818.92
8.2.80.0000.00817.97
8.2.70.0050.00317.38
8.2.60.0000.00917.68
8.2.50.0030.00518.07
8.2.40.0000.00818.22
8.2.30.0080.00017.84
8.2.20.0000.00817.55
8.2.10.0030.00517.93
8.2.00.0060.00317.44
8.1.280.0140.00725.92
8.1.270.0000.00818.68
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0100.00023.79
8.1.230.0030.00719.10
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00717.23
8.1.190.0030.00616.99
8.1.180.0040.00418.10
8.1.170.0050.00318.65
8.1.160.0000.00721.86
8.1.150.0040.00418.82
8.1.140.0030.00519.03
8.1.130.0040.00417.76
8.1.120.0050.00217.33
8.1.110.0040.00417.38
8.1.100.0030.00517.23
8.1.90.0040.00417.32
8.1.80.0040.00417.34
8.1.70.0040.00417.30
8.1.60.0050.00317.48
8.1.50.0040.00417.36
8.1.40.0040.00417.28
8.1.30.0030.00517.43
8.1.20.0030.00517.34
8.1.10.0030.00717.45
8.1.00.0040.00417.18
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0070.00018.27
8.0.270.0000.00817.18
8.0.260.0030.00317.13
8.0.250.0030.00316.79
8.0.240.0070.00016.82
8.0.230.0040.00416.85
8.0.220.0000.00816.81
8.0.210.0000.00816.84
8.0.200.0040.00416.92
8.0.190.0080.00016.88
8.0.180.0020.00516.85
8.0.170.0050.00216.91
8.0.160.0000.00716.72
8.0.150.0040.00416.75
8.0.140.0040.00416.84
8.0.130.0030.00313.18
8.0.120.0030.00616.80
8.0.110.0070.00016.71
8.0.100.0040.00416.87
8.0.90.0050.00216.81
8.0.80.0160.00016.76
8.0.70.0000.00716.70
8.0.60.0000.00716.87
8.0.50.0040.00416.66
8.0.30.0110.00816.90
8.0.20.0060.01317.40
8.0.10.0030.00516.79
8.0.00.0090.00916.58
7.4.330.0000.00515.03
7.4.320.0000.00716.29
7.4.300.0030.00316.52
7.4.290.0070.00016.29
7.4.280.0030.00516.34
7.4.270.0030.00316.38
7.4.260.0000.00716.45
7.4.250.0040.00416.41
7.4.240.0020.00516.50
7.4.230.0000.00716.47
7.4.220.0180.00716.49
7.4.210.0040.01116.40
7.4.200.0040.00416.40
7.4.160.0060.00916.36
7.4.150.0090.00817.40
7.4.140.0090.00817.86
7.4.130.0090.00816.31
7.4.120.0090.00816.46
7.4.110.0060.01016.43
7.4.100.0060.01216.19
7.4.90.0100.00716.49
7.4.80.0060.01219.39
7.4.70.0130.00616.43
7.4.60.0060.00916.35
7.4.50.0040.00416.30
7.4.40.0150.00616.56
7.4.30.0170.00016.40
7.4.00.0030.00714.93
7.3.330.0030.00313.06
7.3.320.0000.00613.06
7.3.310.0030.00316.23
7.3.300.0060.00016.24
7.3.290.0080.00516.23
7.3.280.0090.01016.20
7.3.270.0090.00917.40
7.3.260.0110.00716.32
7.3.250.0100.00716.42
7.3.240.0090.00816.29
7.3.230.0000.01716.39
7.3.210.0060.01016.14
7.3.200.0110.01119.39
7.3.190.0090.01216.37
7.3.180.0090.00816.39
7.3.170.0090.00916.31
7.3.160.0030.01216.37
7.2.330.0100.00716.54
7.2.320.0060.01016.50
7.2.310.0110.00716.33
7.2.300.0000.01616.28
7.2.290.0110.00716.28
7.2.80.0060.00616.56
7.2.60.0080.00816.55
7.2.00.0030.00919.06
7.1.200.0070.00715.51
7.1.100.0040.00817.73
7.1.70.0100.00216.67
7.1.60.0100.01419.46
7.1.50.0100.01316.72
7.1.00.0000.08022.33
7.0.200.0030.00716.63
7.0.140.0030.05721.96
7.0.60.0100.08319.80
7.0.50.0070.04017.85
7.0.40.0030.08320.23
7.0.30.0200.04320.34
7.0.20.0270.07320.31
7.0.10.0130.04020.33
7.0.00.0170.06720.05
5.6.280.0070.06720.87
5.6.210.0070.07720.63
5.6.200.0030.04018.22
5.6.190.0030.04320.62
5.6.180.0470.04720.63
5.6.170.0130.05020.51
5.6.160.0100.08020.47
5.6.150.0170.07018.11
5.6.140.0070.05318.18
5.6.130.0100.07718.15
5.6.120.0100.08021.05
5.6.110.0070.08020.89
5.6.100.0000.04321.04
5.6.90.0030.04020.97
5.6.80.0030.06020.34
5.5.350.3330.03720.39
5.5.340.0100.08017.95
5.5.330.0070.07320.19
5.5.320.1900.03720.24
5.5.310.0330.05720.32
5.5.300.0070.04317.98
5.5.290.0070.08318.03
5.5.280.0070.05320.90
5.5.270.0030.09720.73
5.5.260.0070.08720.89
5.5.250.0070.07720.80
5.5.240.0100.06020.16
5.4.450.0200.05719.71
5.4.440.0370.05719.58
5.4.430.0130.05019.56
5.4.420.0100.05319.31
5.4.410.0200.04319.44
5.4.400.0100.05319.25
5.4.390.0270.04318.84
5.4.380.0330.05718.70
5.4.370.0270.04318.76
5.4.360.0170.05318.75
5.4.350.0100.06018.56
5.4.340.0270.07018.80
5.4.320.0170.05718.77
5.4.310.0100.05718.59
5.4.300.0200.05018.75
5.4.290.0200.05318.58
5.4.280.0130.05718.85
5.4.270.0100.06018.59
5.4.260.0230.04718.76
5.4.250.0100.06018.59
5.4.240.0170.05718.46
5.4.230.0130.06018.61
5.4.220.0270.04718.85
5.4.210.0270.05718.51
5.4.200.0170.05316.60
5.4.190.0230.05018.71
5.4.180.0170.05718.60
5.4.170.0270.06018.51
5.4.160.0130.06018.75
5.4.150.0200.05318.73
5.4.140.0070.06316.38
5.4.130.0270.05016.25
5.4.120.0200.04716.26
5.4.110.0230.05016.17
5.4.100.0300.04016.44
5.4.90.0130.05716.25
5.4.80.0100.05316.28
5.4.70.0170.05716.31
5.4.60.0130.05316.25
5.4.50.0170.05016.27
5.4.40.0230.05316.41
5.4.30.0270.03716.27
5.4.20.0200.04716.16
5.4.10.0270.04016.26
5.4.00.0100.05315.78
5.3.290.0300.04314.71
5.3.280.0230.04714.59
5.3.270.0200.05714.71
5.3.260.0200.05314.59
5.3.250.0170.05314.64
5.3.240.0170.05714.70
5.3.230.0200.05014.78
5.3.220.0270.04714.66
5.3.210.0000.07014.66
5.3.200.0230.04714.55
5.3.190.0030.06014.58
5.3.180.0100.05314.74
5.3.170.0130.05314.73
5.3.160.0070.06014.68
5.3.150.0300.04014.79
5.3.140.0270.04714.61
5.3.130.0270.04714.53
5.3.120.0200.05314.55
5.3.110.0300.05314.58
5.3.100.0300.04314.26
5.3.90.0270.04314.24
5.3.80.0230.04714.18
5.3.70.0100.06014.00
5.3.60.0230.04314.03
5.3.50.0200.04714.06
5.3.40.0270.04313.99
5.3.30.0130.05313.94
5.3.20.0170.05013.86
5.3.10.0100.05713.88
5.3.00.0100.06013.69
5.2.170.0200.03311.29
5.2.160.0100.05011.20
5.2.150.0170.04311.20
5.2.140.0100.05311.22
5.2.130.0130.04311.21
5.2.120.0170.04011.13
5.2.110.0130.04311.21
5.2.100.0200.03311.21
5.2.90.0130.04011.18
5.2.80.0030.05011.20
5.2.70.0230.04011.15
5.2.60.0130.06311.11
5.2.50.0170.05311.04
5.2.40.0070.04311.05
5.2.30.0100.04711.02
5.2.20.0130.03711.01
5.2.10.0200.03010.98
5.2.00.0130.04010.82
5.1.60.0170.03010.02
5.1.50.0070.04010.19
5.1.40.0070.04010.05
5.1.30.0130.04010.35
5.1.20.0100.04310.37
5.1.10.0100.03710.11
5.1.00.0100.03710.11
5.0.50.0130.0238.59
5.0.40.0130.0208.48
5.0.30.0100.0438.25
5.0.20.0030.0308.31
5.0.10.0030.0308.29
5.0.00.0130.0408.20
4.4.90.0030.0235.91
4.4.80.0030.0235.86
4.4.70.0100.0205.91
4.4.60.0030.0235.88
4.4.50.0070.0205.89
4.4.40.0100.0335.97
4.4.30.0100.0205.92
4.4.20.0100.0205.93
4.4.10.0030.0235.98
4.4.00.0100.0375.92
4.3.110.0070.0235.81
4.3.100.0000.0275.85
4.3.90.0000.0235.77
4.3.80.0000.0405.84
4.3.70.0070.0205.77
4.3.60.0070.0205.80
4.3.50.0000.0275.78
4.3.40.0070.0335.75
4.3.30.0070.0204.64
4.3.20.0070.0204.54
4.3.10.0000.0234.50
4.3.00.0000.0308.78

preferences:
33.5 ms | 401 KiB | 5 Q