3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo\Bar; class Baz { public function Baz() { echo 'test'; } } new Foo\Bar\Baz();

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.0100.00718.83
8.3.30.0000.01418.79
8.3.20.0040.00420.11
8.3.10.0070.00023.61
8.3.00.0040.00419.79
8.2.170.0120.00322.96
8.2.160.0140.00019.33
8.2.150.0000.00724.18
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0040.00417.47
8.2.110.0030.00619.23
8.2.100.0080.00817.78
8.2.90.0040.00419.28
8.2.80.0050.00317.97
8.2.70.0030.00617.63
8.2.60.0030.00517.80
8.2.50.0040.00418.07
8.2.40.0090.00019.26
8.2.30.0100.00018.03
8.2.20.0040.00417.66
8.2.10.0040.00418.02
8.2.00.0040.00417.98
8.1.270.0130.00620.37
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0060.00323.92
8.1.230.0040.00819.01
8.1.220.0060.00317.74
8.1.210.0030.00618.77
8.1.200.0040.00417.35
8.1.190.0000.00817.22
8.1.180.0040.00418.10
8.1.170.0090.00618.28
8.1.160.0040.00421.93
8.1.150.0000.00818.66
8.1.140.0000.00817.22
8.1.130.0030.00617.53
8.1.120.0030.00317.23
8.1.110.0080.00017.20
8.1.100.0080.00017.20
8.1.90.0000.00717.32
8.1.80.0030.00617.23
8.1.70.0070.00017.21
8.1.60.0000.00717.27
8.1.50.0030.00617.33
8.1.40.0080.00017.39
8.1.30.0050.00317.48
8.1.20.0040.00417.55
8.1.10.0040.00417.46
8.1.00.0040.00417.50
8.0.300.0000.00718.77
8.0.290.0050.00216.63
8.0.280.0040.00418.42
8.0.270.0000.00717.25
8.0.260.0000.00717.18
8.0.250.0040.00416.85
8.0.240.0000.00816.84
8.0.230.0030.00316.91
8.0.220.0030.00316.75
8.0.210.0000.00716.79
8.0.200.0000.00716.95
8.0.190.0040.00416.84
8.0.180.0000.00716.93
8.0.170.0040.00416.84
8.0.160.0040.00416.89
8.0.150.0000.00716.86
8.0.140.0000.00816.85
8.0.130.0070.00013.27
8.0.120.0080.00016.85
8.0.110.0030.00616.79
8.0.100.0040.00416.92
8.0.90.0040.00416.86
8.0.80.0040.01116.93
8.0.70.0030.00316.81
8.0.60.0040.00416.84
8.0.50.0000.00716.70
8.0.30.0090.00616.86
8.0.20.0140.00517.40
8.0.10.0070.00017.00
8.0.00.0090.00816.68
7.4.330.0000.00515.08
7.4.320.0040.00416.46
7.4.300.0000.00616.54
7.4.290.0030.00316.43
7.4.280.0000.00816.41
7.4.270.0050.00216.55
7.4.260.0070.00016.48
7.4.250.0030.00316.38
7.4.240.0040.00416.43
7.4.230.0030.00316.41
7.4.220.0210.00616.45
7.4.210.0100.00816.41
7.4.200.0000.00716.40
7.4.160.0100.00716.25
7.4.150.0090.00917.40
7.4.140.0130.00817.86
7.4.130.0050.01316.53
7.4.120.0100.00716.42
7.4.110.0130.01016.41
7.4.100.0130.00616.29
7.4.90.0110.00616.52
7.4.80.0090.01219.39
7.4.70.0090.01316.59
7.4.60.0040.01116.73
7.4.50.0000.00816.71
7.4.40.0090.01216.45
7.4.30.0070.01016.46
7.4.00.0110.00414.90
7.3.330.0060.00013.27
7.3.320.0000.00613.16
7.3.310.0000.00716.36
7.3.300.0030.00316.15
7.3.290.0000.00716.29
7.3.280.0070.01116.27
7.3.270.0090.00917.40
7.3.260.0170.00716.38
7.3.250.0100.00716.44
7.3.240.0110.00616.30
7.3.230.0090.00816.52
7.3.210.0160.00316.47
7.3.200.0090.00916.27
7.3.190.0090.00916.33
7.3.180.0160.00416.28
7.3.170.0100.00616.35
7.3.160.0120.00616.38
7.2.330.0050.01116.63
7.2.320.0100.01616.63
7.2.310.0070.01016.59
7.2.300.0040.01216.23
7.2.290.0120.00916.18
7.2.60.0070.00716.74
7.2.00.0060.00619.41
7.1.200.0110.00315.45
7.1.100.0080.00817.95
7.1.70.0030.00316.75
7.1.60.0000.01320.03
7.1.50.0090.01516.75
7.1.00.0100.07022.37
7.0.200.0000.00716.63
7.0.110.0070.04319.97
7.0.100.0070.04719.89
7.0.90.0070.04719.78
7.0.80.0030.05719.98
7.0.70.0200.07019.86
7.0.60.0070.05719.88
7.0.50.0130.04319.94
7.0.40.0030.04719.66
7.0.30.0030.04319.73
7.0.20.0030.04719.59
7.0.10.0000.04719.67
7.0.00.0030.07019.79
5.6.280.0070.07021.14
5.6.260.0070.04320.59
5.6.250.0030.04320.63
5.6.240.0070.04020.65
5.6.230.0000.04320.52
5.6.220.0030.08720.48
5.6.210.0070.04720.63
5.6.200.0030.04320.47
5.6.190.0070.07720.54
5.6.180.0030.07320.52
5.6.170.0030.04020.60
5.6.160.0030.04020.51
5.6.150.0100.04020.58
5.6.140.0070.06720.63
5.6.130.0030.03720.55
5.6.120.0000.04320.56
5.6.110.0030.04320.58
5.6.100.0100.03320.65
5.6.90.0000.04320.52
5.6.80.0030.04019.92
5.6.70.0000.04019.94
5.6.60.0100.03320.17
5.6.50.0130.07019.95
5.6.40.0030.07319.91
5.6.30.0100.04319.78
5.6.20.0070.07019.98
5.6.10.0100.07020.01
5.6.00.0100.07020.01
5.5.380.0030.04020.52
5.5.370.0100.03720.48
5.5.360.0100.08020.51
5.5.350.0100.03320.38
5.5.340.0030.04320.76
5.5.330.0100.05020.64
5.5.320.0000.04720.92
5.5.310.0070.04020.79
5.5.300.0030.04020.91
5.5.290.0000.04720.89
5.5.280.0000.05020.79
5.5.270.0130.03020.96
5.5.260.0070.04020.64
5.5.250.0070.04320.71
5.5.240.0070.03720.30
5.5.230.0070.03720.33
5.5.220.0030.04020.27
5.5.210.0030.04320.37
5.5.200.0070.06719.96
5.5.190.0070.07320.25
5.5.180.0100.06720.11
5.5.160.0200.07020.04
5.5.150.0100.07720.33
5.5.140.0100.07320.30
5.5.130.0200.03320.11
5.5.120.0100.07720.28
5.5.110.0100.07320.28
5.5.100.0000.09020.20
5.5.90.0070.06720.08
5.5.80.0070.07720.15
5.5.70.0030.07320.19
5.5.60.0070.06720.20
5.5.50.0200.06320.07
5.5.40.0030.05020.18
5.5.30.0170.07719.98
5.5.20.0230.06020.04
5.5.10.0070.04020.14
5.5.00.0070.08020.00
5.4.450.0030.04719.34
5.4.440.0030.04719.33
5.4.430.0070.03319.30
5.4.420.0030.04019.33
5.4.410.0030.03719.22
5.4.400.0100.03319.17
5.4.390.0000.04019.00
5.4.380.0030.05019.24
5.4.370.0130.04019.24
5.4.360.0000.08019.01
5.4.350.0130.04319.18
5.4.340.0070.07719.03
5.4.320.0070.08318.99
5.4.310.0000.08719.00
5.4.300.0070.07319.01
5.4.290.0130.06718.99
5.4.280.0070.08019.19
5.4.270.0200.04019.01
5.4.260.0030.06019.31
5.4.250.0070.07719.23
5.4.240.0070.07718.98
5.4.230.0030.08319.02
5.4.220.0100.07019.18
5.4.210.0100.06719.16
5.4.200.0100.07019.08
5.4.190.0130.06718.93
5.4.180.0130.03719.30
5.4.170.0100.06019.15
5.4.160.0070.07318.98
5.4.150.0130.07018.98
5.4.140.0100.07316.58
5.4.130.0000.07716.30
5.4.120.0070.07716.30
5.4.110.0170.06316.51
5.4.100.0100.05716.31
5.4.90.0070.07316.47
5.4.80.0000.04716.41
5.4.70.0030.06316.39
5.4.60.0070.04716.55
5.4.50.0070.07716.62
5.4.40.0100.06716.59
5.4.30.0200.05716.33
5.4.20.0200.06016.54
5.4.10.0230.05716.38
5.4.00.0070.07715.86

preferences:
43.62 ms | 400 KiB | 5 Q