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.0090.00618.85
8.3.30.0070.00718.71
8.3.20.0040.00420.08
8.3.10.0030.00523.70
8.3.00.0060.00319.43
8.2.170.0110.00422.96
8.2.160.0070.01020.43
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0060.00317.50
8.2.110.0070.00322.13
8.2.100.0040.00817.63
8.2.90.0040.00419.22
8.2.80.0000.00817.97
8.2.70.0030.00517.63
8.2.60.0030.00617.80
8.2.50.0040.00418.07
8.2.40.0050.00219.29
8.2.30.0000.00819.84
8.2.20.0060.00317.67
8.2.10.0080.00017.98
8.2.00.0040.00417.89
8.1.270.0080.00820.33
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0100.00022.45
8.1.230.0040.00717.42
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0040.00417.36
8.1.190.0050.00317.10
8.1.180.0040.00418.10
8.1.170.0000.00818.46
8.1.160.0090.00021.85
8.1.150.0040.00418.74
8.1.140.0040.00417.22
8.1.130.0030.00317.57
8.1.120.0070.00017.30
8.1.110.0040.00417.23
8.1.100.0040.00417.32
8.1.90.0000.00717.36
8.1.80.0040.00417.29
8.1.70.0030.00317.34
8.1.60.0050.00317.51
8.1.50.0030.00717.33
8.1.40.0060.00317.50
8.1.30.0040.00417.49
8.1.20.0030.00517.64
8.1.10.0040.00417.52
8.1.00.0050.00317.35
8.0.300.0030.00618.77
8.0.290.0040.00416.75
8.0.280.0030.00318.32
8.0.270.0000.00717.14
8.0.260.0030.00317.18
8.0.250.0000.00816.89
8.0.240.0000.00616.82
8.0.230.0000.00716.88
8.0.220.0030.00316.93
8.0.210.0030.00516.77
8.0.200.0060.00016.86
8.0.190.0060.00316.94
8.0.180.0040.00416.92
8.0.170.0040.00416.82
8.0.160.0000.00716.96
8.0.150.0030.00516.77
8.0.140.0040.00516.90
8.0.130.0030.00313.35
8.0.120.0080.00016.88
8.0.110.0020.00516.80
8.0.100.0040.00416.84
8.0.90.0040.00416.91
8.0.80.0000.01716.78
8.0.70.0000.00716.85
8.0.60.0000.00716.72
8.0.50.0000.00816.95
8.0.30.0150.00616.95
8.0.20.0110.00617.40
8.0.10.0000.00716.82
8.0.00.0110.00916.66
7.4.330.0060.00015.08
7.4.320.0000.00716.27
7.4.300.0020.00516.47
7.4.290.0030.00316.50
7.4.280.0040.00416.42
7.4.270.0000.01016.43
7.4.260.0040.00416.51
7.4.250.0040.00416.38
7.4.240.0040.00416.37
7.4.230.0000.00716.53
7.4.220.0030.02516.56
7.4.210.0080.00616.55
7.4.200.0070.00016.61
7.4.160.0120.00316.43
7.4.150.0070.01417.40
7.4.140.0080.01017.86
7.4.130.0150.00316.41
7.4.120.0070.01216.41
7.4.110.0140.00316.38
7.4.100.0100.00716.47
7.4.90.0140.00416.47
7.4.80.0070.01719.39
7.4.70.0090.00616.43
7.4.60.0080.00816.40
7.4.50.0000.00816.47
7.4.40.0070.01016.52
7.4.30.0100.01016.52
7.4.00.0030.01414.86
7.3.330.0000.00513.16
7.3.320.0050.00013.35
7.3.310.0000.00716.33
7.3.300.0000.00616.16
7.3.290.0030.00316.16
7.3.280.0110.00716.26
7.3.270.0090.00917.40
7.3.260.0060.01216.68
7.3.250.0140.00516.42
7.3.240.0100.00716.21
7.3.230.0060.01516.43
7.3.210.0170.00716.30
7.3.200.0040.01216.43
7.3.190.0060.00916.66
7.3.180.0000.01516.30
7.3.170.0080.00916.30
7.3.160.0110.00616.47
7.3.10.0090.00616.52
7.3.00.0040.00816.42
7.2.330.0110.00816.40
7.2.320.0130.00716.56
7.2.310.0080.00816.26
7.2.300.0070.01316.50
7.2.290.0030.01416.50
7.2.130.0060.00916.61
7.2.120.0060.00616.77
7.2.110.0030.00616.61
7.2.100.0090.00616.50
7.2.90.0040.01116.79
7.2.80.0070.00316.96
7.2.70.0030.00616.75
7.2.60.0050.00816.78
7.2.50.0000.01016.89
7.2.40.0090.00616.87
7.2.30.0090.00616.89
7.2.20.0070.00716.75
7.2.10.0090.00316.84
7.2.00.0070.00617.90
7.1.250.0140.00015.78
7.1.200.0070.00715.65
7.1.100.0040.00718.00
7.1.70.0040.00417.03
7.1.60.0160.00720.03
7.1.50.0090.01616.70
7.1.00.0030.07722.54
7.0.200.0030.00616.73
7.0.100.0130.07319.95
7.0.90.0100.07720.13
7.0.80.0030.08719.96
7.0.70.0100.08319.92
7.0.60.0100.04719.94
7.0.50.0170.08020.30
7.0.40.0130.07020.09
7.0.30.0100.08020.15
7.0.20.0100.09020.10
7.0.10.0030.07020.06
7.0.00.0130.08020.06
5.6.280.0030.03320.99
5.6.250.0100.07720.59
5.6.240.0030.08720.54
5.6.230.0170.07720.64
5.6.220.0100.07720.50
5.6.210.0070.08320.75
5.6.200.0130.07320.97
5.6.190.0070.08321.00
5.6.180.0100.08321.12
5.6.170.0070.08721.02
5.6.160.0100.08720.95
5.6.150.0070.08321.07
5.6.140.0130.04720.95
5.6.130.0230.06720.94
5.6.120.0100.08721.06
5.6.110.0030.08021.00
5.6.100.0100.07321.02
5.6.90.0270.06721.06
5.6.80.0070.07720.55
5.6.70.0000.05320.37
5.6.60.0100.07020.39
5.6.50.0030.08720.32
5.6.40.0100.07020.41
5.6.30.0000.05720.40
5.6.20.0070.08020.32
5.6.10.0130.04320.38
5.6.00.0070.06020.40
5.5.380.0100.07720.36
5.5.370.0130.06720.43
5.5.360.0100.07320.56
5.5.350.0100.07320.46
5.5.340.0030.08020.82
5.5.330.0100.07320.65
5.5.320.0000.05720.82
5.5.310.0100.07720.93
5.5.300.0070.08020.91
5.5.290.0170.07020.76
5.5.280.0070.07320.86
5.5.270.0100.08020.86
5.5.260.0000.08320.73
5.5.250.0100.07720.70
5.5.240.0100.07320.31
5.5.230.0030.07020.16
5.5.220.0070.07320.13
5.5.210.0100.07020.28
5.5.200.0000.06320.00
5.5.190.0030.08720.19
5.5.180.0130.06720.15
5.5.160.0100.03320.28
5.5.150.0070.07320.25
5.5.140.0100.07320.13
5.5.130.0030.08020.22
5.5.120.0130.07020.21
5.5.110.0000.08320.24
5.5.100.0130.07719.96
5.5.90.0030.05020.17
5.5.80.0100.07019.98
5.5.70.0100.07720.16
5.5.60.0130.07319.93
5.5.50.0070.07020.16
5.5.40.0100.07320.12
5.5.30.0100.06720.00
5.5.20.0070.07720.00
5.5.10.0130.07020.04
5.5.00.0030.06320.05
5.4.450.0070.07719.46
5.4.440.0100.08019.41
5.4.430.0030.08019.46
5.4.420.0000.04719.53
5.4.410.0130.07319.15
5.4.400.0100.06319.15
5.4.390.0070.07319.23
5.4.380.0070.07019.21
5.4.370.0070.05718.90
5.4.360.0100.07019.03
5.4.350.0100.06719.06
5.4.340.0100.06719.24
5.4.320.0070.06318.88
5.4.310.0070.07319.14
5.4.300.0230.05718.95
5.4.290.0130.07019.16
5.4.280.0100.08018.90
5.4.270.0100.07319.18
5.4.260.0100.07319.21
5.4.250.0000.08319.12
5.4.240.0030.07319.05
5.4.230.0100.07319.13
5.4.220.0170.07019.22
5.4.210.0030.07718.90
5.4.200.0030.05018.89
5.4.190.0100.07019.08
5.4.180.0100.07318.87
5.4.170.0100.04319.20
5.4.160.0030.08319.16
5.4.150.0170.06718.98
5.4.140.0030.08016.44
5.4.130.0030.06716.18
5.4.120.0070.07016.33
5.4.110.0100.05016.48
5.4.100.0070.07316.34
5.4.90.0000.08016.55
5.4.80.0070.05316.46
5.4.70.0100.06716.38
5.4.60.0100.06716.36
5.4.50.0100.04016.31
5.4.40.0030.06716.38
5.4.30.0000.08016.36
5.4.20.0030.04716.36
5.4.10.0100.06716.31
5.4.00.0030.07315.85

preferences:
49.25 ms | 400 KiB | 5 Q