3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static function baz() { } } class Bar extends Foo { public static function baz(array $arr) { } } $foo = new Foo(); $bar = new Bar();

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.0130.00718.56
8.3.50.0130.00718.19
8.3.40.0150.00018.63
8.3.30.0100.01018.79
8.3.20.0000.00720.39
8.3.10.0080.00023.62
8.3.00.0000.00820.69
8.2.180.0150.00018.37
8.2.170.0150.00022.96
8.2.160.0070.00722.27
8.2.150.0000.00724.18
8.2.140.0070.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00421.99
8.2.110.0090.00022.26
8.2.100.0060.00617.59
8.2.90.0080.00019.07
8.2.80.0040.00417.97
8.2.70.0070.00317.38
8.2.60.0080.00017.80
8.2.50.0030.00518.07
8.2.40.0050.00318.07
8.2.30.0000.00917.98
8.2.20.0000.00817.40
8.2.10.0000.00819.25
8.2.00.0000.00817.43
8.1.280.0120.00625.92
8.1.270.0000.00823.81
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0100.00023.96
8.1.230.0080.00319.09
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0090.00017.00
8.1.190.0030.00517.38
8.1.180.0080.00018.10
8.1.170.0090.00018.52
8.1.160.0000.00821.85
8.1.150.0050.00218.57
8.1.140.0030.00517.32
8.1.130.0030.00317.75
8.1.120.0040.00417.36
8.1.110.0070.00017.31
8.1.100.0000.00817.24
8.1.90.0070.00017.33
8.1.80.0000.00717.23
8.1.70.0000.00717.23
8.1.60.0030.00617.34
8.1.50.0050.00217.38
8.1.40.0040.00417.36
8.1.30.0030.00617.55
8.1.20.0040.00417.54
8.1.10.0070.00317.27
8.1.00.0000.00717.20
8.0.300.0040.00418.77
8.0.290.0000.00717.04
8.0.280.0000.00818.30
8.0.270.0040.00417.13
8.0.260.0030.00316.75
8.0.250.0070.00016.75
8.0.240.0030.00516.87
8.0.230.0020.00516.76
8.0.220.0070.00016.84
8.0.210.0030.00316.82
8.0.200.0030.00316.84
8.0.190.0030.00516.87
8.0.180.0000.00816.73
8.0.170.0070.00016.89
8.0.160.0070.00016.81
8.0.150.0000.00716.84
8.0.140.0000.00816.71
8.0.130.0030.00313.29
8.0.120.0000.00816.73
8.0.110.0030.00416.81
8.0.100.0040.00416.64
8.0.90.0040.00416.84
8.0.80.0110.00616.74
8.0.70.0070.00016.86
8.0.60.0050.00216.65
8.0.50.0040.00416.78
8.0.30.0140.00616.86
8.0.20.0100.00717.40
8.0.10.0000.00716.90
8.0.00.0100.00716.61
7.4.330.0050.00015.02
7.4.320.0040.00416.44
7.4.300.0000.00716.43
7.4.290.0070.00016.52
7.4.280.0000.01016.55
7.4.270.0000.00716.58
7.4.260.0000.00716.52
7.4.250.0050.00216.39
7.4.240.0050.00216.55
7.4.230.0000.00716.42
7.4.220.0000.01716.49
7.4.210.0030.01216.49
7.4.200.0000.00816.60
7.4.190.0030.00316.38
7.4.160.0090.00916.36
7.4.150.0040.01517.40
7.4.140.0100.00717.86
7.4.130.0090.00916.46
7.4.120.0100.00816.45
7.4.110.0070.01016.27
7.4.100.0120.00616.69
7.4.90.0140.00316.41
7.4.80.0140.00316.42
7.4.70.0070.01316.36
7.4.60.0070.00816.40
7.4.50.0050.00316.16
7.4.40.0070.00722.77
7.4.30.0080.01216.72
7.4.00.0060.00915.01
7.3.330.0030.00313.24
7.3.320.0000.00513.16
7.3.310.0070.00016.09
7.3.300.0030.00316.17
7.3.290.0030.01116.24
7.3.280.0100.00816.26
7.3.270.0100.00717.40
7.3.260.0130.00316.41
7.3.250.0110.00916.22
7.3.240.0100.00716.28
7.3.230.0100.00616.39
7.3.210.0100.00616.52
7.3.200.0060.01419.39
7.3.190.0140.00316.20
7.3.180.0150.00616.35
7.3.170.0090.00616.27
7.3.160.0100.00716.23
7.3.120.0060.01014.78
7.3.10.0070.00716.35
7.3.00.0100.00316.27
7.2.330.0140.00416.39
7.2.320.0040.01116.66
7.2.310.0130.00616.57
7.2.300.0050.01416.59
7.2.290.0080.00916.50
7.2.130.0100.00316.32
7.2.120.0040.01116.23
7.2.110.0060.00616.31
7.2.100.0090.00416.19
7.2.90.0070.00716.53
7.2.80.0080.00316.50
7.2.70.0110.00716.91
7.2.60.0080.01016.45
7.2.50.0130.00716.63
7.2.40.0030.01016.73
7.2.30.0130.00616.60
7.2.20.0190.00616.43
7.2.10.0060.01016.02
7.2.00.0070.01217.96
7.1.250.0120.00615.40
7.1.200.0150.00415.64
7.1.100.0030.00717.63
7.1.70.0070.00716.61
7.1.60.0060.01919.27
7.1.50.0000.02116.67
7.1.00.0030.07722.29
7.0.200.0040.00816.57
7.0.140.0100.06322.18
7.0.90.0200.03019.98
7.0.80.0030.05319.97
7.0.70.0070.08319.87
7.0.60.0230.09319.95
7.0.50.0330.08020.35
7.0.40.0270.07320.14
7.0.30.0130.03720.13
7.0.20.0070.04020.03
7.0.10.0130.07720.13
7.0.00.0030.06720.02
5.6.280.0030.07321.03
5.6.230.0000.03720.51
5.6.220.0030.03720.50
5.6.210.0000.07020.46
5.6.200.0070.05020.96
5.6.190.0230.06021.04
5.6.180.0030.08021.01
5.6.170.0130.05021.07
5.6.160.0100.06021.03
5.6.150.0070.05721.01
5.6.140.0100.07721.05
5.6.130.0130.10321.03
5.6.120.0170.06321.09
5.6.110.0000.05021.07
5.6.100.0030.04320.95
5.6.90.0100.07721.06
5.6.80.0000.04720.35
5.6.70.0070.03720.37
5.6.60.0030.04020.45
5.6.50.0100.07320.33
5.6.40.0030.07720.49
5.6.30.0070.07720.37
5.6.20.0030.06320.29
5.6.10.0070.07720.39
5.6.00.0200.06320.52
5.5.370.0030.04020.40
5.5.360.0100.07720.41
5.5.350.0030.07020.43
5.5.340.0130.07020.93
5.5.330.0130.03720.77
5.5.320.0000.04720.90
5.5.310.0070.06320.64
5.5.300.0170.06320.75
5.5.290.0070.07320.78
5.5.280.0000.05720.73
5.5.270.0030.04720.72
5.5.260.0070.08720.77
5.5.250.0070.05720.68
5.5.240.0070.04720.19
5.5.230.0030.04720.28
5.5.220.0070.07720.26
5.5.210.0100.07719.98
5.5.200.0070.04320.29
5.5.190.0100.07320.15
5.5.180.0100.04720.15
5.5.160.0170.06320.12
5.5.150.0270.03320.11
5.5.140.0070.04720.14
5.5.130.0170.07020.22
5.5.120.0000.05020.19
5.5.110.0130.06020.25
5.5.100.0000.08320.07
5.5.90.0100.07320.16
5.5.80.0170.07020.01
5.5.70.0070.04320.00
5.5.60.0100.07320.06
5.5.50.0130.06020.08
5.5.40.0100.07320.10
5.5.30.0070.10020.11
5.5.20.0170.06320.09
5.5.10.0230.03020.04
5.5.00.0100.04019.99
5.4.450.0100.06719.56
5.4.440.0130.03319.54
5.4.430.0000.06019.35
5.4.420.0170.06719.47
5.4.410.0030.07719.32
5.4.400.0000.03718.85
5.4.390.0070.07019.05
5.4.380.0030.04018.88
5.4.370.0000.07319.21
5.4.360.0030.08718.85
5.4.350.0130.06319.03
5.4.340.0030.07719.09
5.4.320.0070.05319.04
5.4.310.0100.05318.91
5.4.300.0100.07018.92
5.4.290.0000.05019.03
5.4.280.0000.04719.12
5.4.270.0030.05719.13
5.4.260.0130.07318.88
5.4.250.0070.07319.12
5.4.240.0130.06319.04
5.4.230.0100.06319.04
5.4.220.0000.08318.84
5.4.210.0100.08718.84
5.4.200.0030.04018.91
5.4.190.0030.05719.20
5.4.180.0030.05319.19
5.4.170.0070.05719.04
5.4.160.0100.03718.85
5.4.150.0070.05019.02
5.4.140.0000.06016.55
5.4.130.0030.04316.54
5.4.120.0000.06316.38
5.4.110.0070.03316.48
5.4.100.0100.06016.42
5.4.90.0100.03716.52
5.4.80.0070.07016.46
5.4.70.0030.05016.40
5.4.60.0100.06716.25
5.4.50.0070.04016.41
5.4.40.0100.07016.54
5.4.30.0070.07716.26
5.4.20.0130.06716.23
5.4.10.0130.04316.23
5.4.00.0000.07015.86
5.3.290.0100.05314.72
5.3.280.0070.08014.55
5.3.270.0000.07714.54
5.3.260.0030.05014.72
5.3.250.0030.04014.59
5.3.240.0100.04314.67
5.3.230.0070.07714.53
5.3.220.0030.04314.66
5.3.210.0000.04714.59
5.3.200.0170.03314.56
5.3.190.0030.04314.70
5.3.180.0070.06314.55
5.3.170.0130.07014.59
5.3.160.0100.05714.71
5.3.150.0100.06714.56
5.3.140.0070.04014.67
5.3.130.0100.06714.65
5.3.120.0130.04314.69
5.3.110.0070.06314.53
5.3.100.0030.06713.99
5.3.90.0030.04314.09
5.3.80.0130.04714.02
5.3.70.0100.06714.12
5.3.60.0070.05314.05
5.3.50.0100.06314.04
5.3.40.0070.07313.89
5.3.30.0100.07013.92
5.3.20.0070.08013.81
5.3.10.0130.04013.80
5.3.00.0030.06713.71
5.2.170.0030.04013.71
5.2.160.0030.07313.71
5.2.150.0070.05713.71
5.2.140.0000.06713.71
5.2.130.0030.04713.71
5.2.120.0100.05313.71
5.2.110.0000.03713.71
5.2.100.0000.06713.71
5.2.90.0070.06013.71
5.2.80.0100.06313.71
5.2.70.0100.05713.71
5.2.60.0070.05013.71
5.2.50.0030.06013.71
5.2.40.0000.05713.71
5.2.30.0100.05713.71
5.2.20.0070.05713.71
5.2.10.0030.06313.71
5.2.00.0000.06713.71
5.1.60.0070.05013.71
5.1.50.0030.05013.71
5.1.40.0100.04713.71
5.1.30.0070.05313.71
5.1.20.0100.05013.71
5.1.10.0030.04313.71
5.1.00.0070.03313.71
5.0.50.0000.03713.71
5.0.40.0030.04313.71
5.0.30.0000.05013.71
5.0.20.0030.03713.71
5.0.10.0070.03713.71
5.0.00.0030.05713.71
4.4.90.0070.02313.71
4.4.80.0130.02313.71
4.4.70.0000.03313.71
4.4.60.0030.02313.71
4.4.50.0030.04313.71
4.4.40.0000.04013.71
4.4.30.0030.03013.71
4.4.20.0030.03713.71
4.4.10.0030.03013.71
4.4.00.0030.05313.71
4.3.110.0070.03013.71
4.3.100.0000.03313.71
4.3.90.0030.03713.71
4.3.80.0000.05013.71
4.3.70.0000.03713.71
4.3.60.0070.03013.71
4.3.50.0070.03313.71
4.3.40.0000.03013.71
4.3.30.0000.03713.71
4.3.20.0000.03713.71
4.3.10.0000.03313.71
4.3.00.0000.03013.71

preferences:
43.52 ms | 400 KiB | 5 Q