3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I { const C = 12; public static function test(array $a); } abstract class A { const A = 14; protected static $var = 17; public static function test(array $a){ return static::C; } } class B extends A implements I { const A = 15; } var_dump(B::test(array(), ''));

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.40.0090.00618.54
8.3.30.0070.00718.91
8.3.20.0040.00420.35
8.3.10.0050.00320.44
8.3.00.0040.00419.56
8.2.170.0100.00722.96
8.2.160.0100.00320.47
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0050.00226.16
8.2.120.0040.00422.14
8.2.110.0060.00320.52
8.2.100.0090.00317.66
8.2.90.0030.00619.28
8.2.80.0040.00417.97
8.2.70.0000.00817.38
8.2.60.0000.00817.79
8.2.50.0040.00418.07
8.2.40.0050.00218.16
8.2.30.0050.00219.13
8.2.20.0000.00817.68
8.2.10.0050.00318.07
8.2.00.0060.00317.47
8.1.270.0040.00423.66
8.1.260.0080.00026.35
8.1.250.0140.00428.09
8.1.240.0000.01022.19
8.1.230.0090.00322.11
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0180.00016.75
8.1.190.0040.00417.23
8.1.180.0030.00618.10
8.1.170.0000.00818.65
8.1.160.0020.00522.01
8.1.150.0050.00318.88
8.1.140.0060.00317.42
8.1.130.0030.00317.76
8.1.120.0050.00217.40
8.1.110.0040.00417.23
8.1.100.0070.00017.48
8.1.90.0070.00017.29
8.1.80.0030.00317.47
8.1.70.0000.00817.39
8.1.60.0040.00417.43
8.1.50.0040.00417.42
8.1.40.0000.00817.45
8.1.30.0030.00517.57
8.1.20.0000.00717.55
8.1.10.0060.00317.51
8.1.00.0060.00317.28
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0030.00318.52
8.0.270.0000.00717.27
8.0.260.0000.00617.15
8.0.250.0070.00016.96
8.0.240.0030.00616.86
8.0.230.0070.00016.97
8.0.220.0000.00716.91
8.0.210.0070.00016.77
8.0.200.0040.00416.97
8.0.190.0000.00716.95
8.0.180.0050.00316.88
8.0.170.0000.00816.96
8.0.160.0040.00416.97
8.0.150.0050.00316.77
8.0.140.0000.00816.77
8.0.130.0000.00513.22
8.0.120.0050.00316.82
8.0.110.0040.00316.72
8.0.100.0050.00216.70
8.0.90.0040.00416.64
8.0.80.0080.01516.88
8.0.70.0040.00416.88
8.0.60.0070.00016.90
8.0.50.0000.00716.78
8.0.30.0140.00617.24
8.0.20.0090.01017.40
8.0.10.0040.00416.98
8.0.00.0080.01116.70
7.4.330.0000.00515.00
7.4.320.0060.00016.59
7.4.300.0030.00316.54
7.4.290.0020.00516.57
7.4.280.0040.00416.37
7.4.270.0050.00316.57
7.4.260.0000.00816.44
7.4.250.0000.00716.41
7.4.240.0070.00016.50
7.4.230.0000.00716.55
7.4.220.0120.00316.64
7.4.210.0070.00716.50
7.4.200.0070.00016.33
7.4.160.0080.00816.54
7.4.150.0140.00717.40
7.4.140.0110.00617.86
7.4.130.0110.00716.55
7.4.120.0110.00716.41
7.4.110.0060.01016.57
7.4.100.0100.01016.30
7.4.90.0070.01016.38
7.4.80.0110.00716.51
7.4.70.0060.00916.54
7.4.60.0070.01016.35
7.4.50.0080.00016.25
7.4.40.0100.00616.42
7.4.30.0090.00616.56
7.4.00.0050.01214.89
7.3.330.0060.00013.16
7.3.320.0030.00313.22
7.3.310.0000.00716.30
7.3.300.0000.00716.25
7.3.290.0090.00616.22
7.3.280.0100.01116.29
7.3.270.0120.00617.40
7.3.260.0140.01116.44
7.3.250.0140.00516.33
7.3.240.0070.01016.57
7.3.230.0090.00616.39
7.3.210.0060.01216.20
7.3.200.0080.01219.39
7.3.190.0070.01016.41
7.3.180.0110.00916.15
7.3.170.0170.00416.27
7.3.160.0100.00716.57
7.3.120.0090.00614.87
7.3.110.0110.00715.00
7.3.100.0030.01215.04
7.3.90.0030.01014.45
7.3.80.0060.00914.59
7.3.70.0070.00714.84
7.3.60.0030.01314.93
7.3.50.0070.00714.84
7.3.40.0070.00314.72
7.3.30.0030.01314.61
7.3.20.0070.00716.82
7.3.10.0090.00716.18
7.3.00.0060.00916.46
7.2.330.0090.00916.53
7.2.320.0110.01116.52
7.2.310.0100.01316.66
7.2.300.0030.01316.70
7.2.290.0140.00716.62
7.2.250.0000.01914.97
7.2.240.0080.01215.12
7.2.230.0100.01014.89
7.2.220.0030.00814.95
7.2.210.0070.00715.25
7.2.200.0030.01214.89
7.2.190.0090.00614.97
7.2.180.0090.00314.87
7.2.170.0100.00714.92
7.2.130.0110.00416.54
7.2.120.0060.01016.33
7.2.110.0100.01016.27
7.2.100.0190.00316.64
7.2.90.0210.00616.27
7.2.80.0100.00716.17
7.2.70.0030.01316.39
7.2.60.0070.01016.09
7.2.50.0130.00315.98
7.2.40.0080.00816.29
7.2.30.0110.00716.37
7.2.20.0070.01316.37
7.2.10.0120.00616.29
7.2.00.0080.01117.74
7.1.330.0160.00015.37
7.1.320.0100.00315.58
7.1.310.0080.00415.77
7.1.300.0040.00415.76
7.1.290.0030.01315.46
7.1.280.0040.01115.48
7.1.270.0100.00615.47
7.1.260.0060.00615.72
7.1.250.0210.00315.53
7.1.100.0900.01416.09
7.1.70.0030.00617.12
7.1.60.0100.01419.32
7.1.50.0060.00916.77
7.1.00.0070.07322.28
7.0.200.0000.00716.68
7.0.140.0000.07721.97
7.0.110.0400.08719.87
7.0.100.0400.07719.96
7.0.90.0630.07719.94
7.0.80.0570.07720.05
7.0.70.0670.04319.83
7.0.60.0470.08319.99
7.0.50.0630.08020.48
7.0.40.0100.07320.22
7.0.30.0070.08320.29
7.0.20.0100.08020.22
7.0.10.0130.07720.02
7.0.00.0200.07020.03
5.6.260.0000.09020.70
5.6.250.0270.05720.68
5.6.240.0030.08720.70
5.6.230.0070.08320.68
5.6.220.0170.06720.65
5.6.210.0130.07020.65
5.6.200.0030.04721.20
5.6.190.0100.08320.95
5.6.180.0100.07721.08
5.6.170.0030.07721.29
5.6.160.0100.07721.03
5.6.150.0130.06021.08
5.6.140.0130.06720.95
5.6.130.0100.07721.14
5.6.120.0030.08321.05
5.6.110.0100.06021.26
5.6.100.0000.09021.13
5.6.90.0000.08721.06
5.6.80.0100.06320.60
5.6.70.0100.06720.52
5.6.60.0170.06320.30
5.6.50.0100.07320.59
5.6.40.0170.07320.57
5.6.30.0030.08020.42
5.6.20.0100.04320.57
5.6.10.0070.08020.30
5.6.00.0030.08320.49
5.5.380.0100.04320.52
5.5.370.0200.07320.57
5.5.360.0170.07720.41
5.5.350.0130.07720.50
5.5.340.0100.08721.04
5.5.330.0200.03720.91
5.5.320.0030.08721.02
5.5.310.0070.08720.98
5.5.300.0100.04721.04
5.5.290.0100.08021.03
5.5.280.0100.07320.95
5.5.270.0130.08020.94
5.5.260.0030.08720.94
5.5.250.0070.06720.62
5.5.240.0100.07020.20
5.5.230.0030.07020.36
5.5.220.0070.08020.38
5.5.210.0000.08020.35
5.5.200.0100.07020.24
5.5.190.0000.09020.24
5.5.180.0030.08320.23
5.5.160.0100.07020.32
5.5.150.0130.07320.22
5.5.140.0030.07720.30
5.5.130.0070.03720.25
5.5.120.0100.07020.36
5.5.110.0100.07320.23
5.5.100.0030.07720.01
5.5.90.0070.06720.25
5.5.80.0070.06020.20
5.5.70.0070.07720.07
5.5.60.0030.04719.97
5.5.50.0070.03720.02
5.5.40.0100.04319.96
5.5.30.0070.08720.13
5.5.20.0130.03720.23
5.5.10.0070.03719.93
5.5.00.0100.04020.13
5.4.450.0070.07319.46
5.4.440.0070.05019.29
5.4.430.0200.07019.31
5.4.420.0100.07719.35
5.4.410.0070.04719.33
5.4.400.0070.07019.18
5.4.390.0070.07719.18
5.4.380.0030.08319.01
5.4.370.0130.07018.98
5.4.360.0230.06018.98
5.4.350.0030.05019.23
5.4.340.0070.07719.16
5.4.320.0070.07719.14
5.4.310.0070.07019.34
5.4.300.0030.05318.99
5.4.290.0130.05719.18
5.4.280.0070.07019.25
5.4.270.0030.05319.01
5.4.260.0030.06719.31
5.4.250.0170.04719.16
5.4.240.0130.06319.09
5.4.230.0030.06719.00
5.4.220.0070.06719.10
5.4.210.0030.07719.13
5.4.200.0130.06719.00
5.4.190.0070.04319.15
5.4.180.0070.03719.23
5.4.170.0000.04019.08
5.4.160.0070.03718.96
5.4.150.0030.05319.12
5.4.140.0070.03316.61
5.4.130.0000.03716.60
5.4.120.0030.03316.64
5.4.110.0000.03716.52
5.4.100.0130.05016.63
5.4.90.0030.07316.48
5.4.80.0030.04016.45
5.4.70.0100.04016.45
5.4.60.0030.07016.41
5.4.50.0070.04016.38
5.4.40.0000.04016.60
5.4.30.0000.03716.53
5.4.20.0070.03016.43
5.4.10.0030.03716.47
5.4.00.0030.03315.95
5.3.290.0030.04714.67
5.3.280.0030.04714.68
5.3.270.0000.04014.59
5.3.260.0030.03714.61
5.3.250.0030.03714.58
5.3.240.0000.04014.66
5.3.230.0030.03714.45
5.3.220.0030.03014.62
5.3.210.0070.03314.80
5.3.200.0030.03014.56
5.3.190.0000.04314.64
5.3.180.0030.03314.57
5.3.170.0070.06014.54
5.3.160.0030.06014.64
5.3.150.0000.03714.42
5.3.140.0000.04014.55
5.3.130.0000.07014.58
5.3.120.0100.05314.63
5.3.110.0000.04014.57
5.3.100.0030.03714.05
5.3.90.0030.03714.04
5.3.80.0030.04014.11
5.3.70.0030.03314.00
5.3.60.0070.03314.05
5.3.50.0070.03013.96
5.3.40.0030.04014.04
5.3.30.0030.05313.87
5.3.20.0030.03713.82
5.3.10.0070.04313.68
5.3.00.0070.03013.65
5.2.170.0030.05011.98
5.2.160.0130.01711.98
5.2.150.0030.03711.98
5.2.140.0070.04011.98
5.2.130.0070.02711.98
5.2.120.0030.03011.98
5.2.110.0000.03011.98
5.2.100.0070.05011.98
5.2.90.0030.02711.98
5.2.80.0070.02711.98
5.2.70.0030.03311.98
5.2.60.0000.04311.98
5.2.50.0000.03011.98
5.2.40.0030.05011.98
5.2.30.0030.02711.98
5.2.20.0030.03311.98
5.2.10.0100.01711.98
5.2.00.0030.02711.98
5.1.60.0000.03011.98
5.1.50.0030.02711.98
5.1.40.0030.03011.98
5.1.30.0000.02711.98
5.1.20.0000.02711.98
5.1.10.0030.02711.98
5.1.00.0030.02311.98
5.0.50.0000.02011.98
5.0.40.0000.02311.98
5.0.30.0030.04011.98
5.0.20.0000.04711.98
5.0.10.0100.03311.98
5.0.00.0030.04011.98
4.4.90.0030.02011.98
4.4.80.0030.01311.98
4.4.70.0000.01311.98
4.4.60.0000.01711.98
4.4.50.0000.01711.98
4.4.40.0000.02711.98
4.4.30.0000.01311.98
4.4.20.0030.02011.98
4.4.10.0070.02011.98
4.4.00.0070.03711.98
4.3.110.0000.01311.98
4.3.100.0070.02711.98
4.3.90.0030.02311.98
4.3.80.0070.04711.98
4.3.70.0000.03311.98
4.3.60.0000.03711.98
4.3.50.0000.03311.98
4.3.40.0000.05711.98
4.3.30.0000.02711.98
4.3.20.0030.03311.98
4.3.10.0030.02311.98
4.3.00.0070.02711.98

preferences:
49.36 ms | 400 KiB | 5 Q