3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(ticks=1); declare(strict_types=1); declare(encoding='ISO-8859-1'); namespace Acme; class Foo {} new Foo;

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.0030.01316.62
8.3.50.0080.00817.90
8.3.40.0140.00018.70
8.3.30.0120.00418.59
8.3.20.0040.00420.22
8.3.10.0070.00023.53
8.3.00.0000.00819.13
8.2.180.0070.01116.50
8.2.170.0080.00622.96
8.2.160.0130.00720.52
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0080.00020.28
8.2.120.0080.00026.35
8.2.110.0060.00320.14
8.2.100.0040.00817.80
8.2.90.0050.00319.10
8.2.80.0000.00817.97
8.2.70.0050.00317.50
8.2.60.0040.00417.91
8.2.50.0000.00818.07
8.2.40.0050.00321.21
8.2.30.0030.00320.48
8.2.20.0070.00017.61
8.2.10.0050.00217.83
8.2.00.0000.00717.84
8.1.280.0140.00425.92
8.1.270.0030.00623.91
8.1.260.0000.00728.09
8.1.250.0080.00028.09
8.1.240.0070.00320.84
8.1.230.0060.00617.42
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0030.00617.23
8.1.190.0090.00017.50
8.1.180.0000.00818.10
8.1.170.0000.00818.57
8.1.160.0040.00421.93
8.1.150.0040.00418.75
8.1.140.0060.00319.48
8.1.130.0000.00717.57
8.1.120.0000.00717.38
8.1.110.0030.00317.30
8.1.100.0050.00317.32
8.1.90.0000.00817.39
8.1.80.0050.00317.21
8.1.70.0070.00017.13
8.1.60.0050.00517.46
8.1.50.0050.00517.49
8.1.40.0030.00617.46
8.1.30.0060.00317.59
8.1.20.0050.00217.46
8.1.10.0000.00717.50
8.1.00.0040.00417.36
8.0.300.0030.00518.77
8.0.290.0080.00016.75
8.0.280.0030.00318.28
8.0.270.0000.00817.11
8.0.260.0080.00017.13
8.0.250.0000.00716.86
8.0.240.0040.00416.89
8.0.230.0040.00416.86
8.0.220.0030.00316.75
8.0.210.0030.00316.81
8.0.200.0000.00616.85
8.0.190.0080.00016.78
8.0.180.0030.00316.84
8.0.170.0000.00716.84
8.0.160.0030.00316.68
8.0.150.0030.00316.77
8.0.140.0070.00016.65
8.0.130.0050.00013.30
8.0.120.0070.00016.77
8.0.110.0000.00716.84
8.0.100.0040.00416.70
8.0.90.0040.00416.81
8.0.80.0120.00316.78
8.0.70.0000.00716.66
8.0.60.0000.00716.71
8.0.50.0040.00416.85
8.0.30.0070.01216.84
8.0.20.0080.01017.40
8.0.10.0040.00416.78
8.0.00.0110.00816.69
7.4.330.0000.00616.70
7.4.320.0080.00016.28
7.4.300.0000.00716.51
7.4.290.0070.00016.46
7.4.280.0030.00616.36
7.4.270.0030.00316.39
7.4.260.0000.00716.44
7.4.250.0030.00316.23
7.4.240.0040.00316.50
7.4.230.0030.00316.56
7.4.220.0030.02316.57
7.4.210.0100.00316.39
7.4.200.0070.00016.37
7.4.160.0090.00916.31
7.4.150.0090.00917.40
7.4.140.0090.01117.86
7.4.130.0150.00516.34
7.4.120.0120.00616.36
7.4.110.0120.00316.38
7.4.100.0130.01016.34
7.4.90.0090.00916.45
7.4.80.0090.00919.39
7.4.70.0100.00716.39
7.4.60.0130.00316.44
7.4.50.0060.00616.42
7.4.40.0100.00716.43
7.4.30.0120.00616.41
7.4.00.0060.00914.79
7.3.330.0040.00513.05
7.3.320.0030.00213.19
7.3.310.0000.00816.21
7.3.300.0040.00416.27
7.3.290.0060.00816.19
7.3.280.0080.00716.20
7.3.270.0130.01217.40
7.3.260.0170.00316.38
7.3.250.0130.00616.36
7.3.240.0090.00716.40
7.3.230.0080.01116.39
7.3.210.0070.01016.23
7.3.200.0090.00916.25
7.3.190.0090.00916.16
7.3.180.0060.00916.27
7.3.170.0140.00716.43
7.3.160.0030.01916.46
7.2.330.0150.00416.47
7.2.320.0070.01016.25
7.2.310.0100.00616.16
7.2.300.0070.01016.24
7.2.290.0080.00816.30
7.2.60.0040.00816.79
7.2.00.0000.01119.17
7.1.200.0030.00915.47
7.1.100.0030.00917.98
7.1.70.0040.00416.73
7.1.60.0030.01719.36
7.1.50.0000.01116.54
7.1.00.0000.08022.28
7.0.200.0090.00316.48
7.0.60.0230.06321.84
7.0.50.0070.08017.87
7.0.40.0100.03720.11
7.0.30.0130.07720.11
7.0.20.0300.08020.31
7.0.10.0030.09320.06
7.0.00.0000.04720.27
5.6.280.0030.05720.82
5.6.210.0030.04320.50
5.6.200.0070.06318.21
5.6.190.0100.04320.63
5.6.180.0470.05320.55
5.6.170.0230.06720.62
5.6.160.0200.06720.51
5.6.150.0100.05718.28
5.6.140.0030.07718.15
5.6.130.0100.07318.11
5.6.120.0000.06321.09
5.6.110.0100.07021.02
5.6.100.0170.07720.98
5.6.90.0130.08021.03
5.6.80.0100.08720.43
5.5.350.0030.03020.49
5.5.340.0070.07718.08
5.5.330.0100.08020.19
5.5.320.0030.07720.25
5.5.310.0370.07020.30
5.5.300.0170.06018.03
5.5.290.0100.05317.98
5.5.280.0070.05720.88
5.5.270.0030.04320.71
5.5.260.0070.08320.78
5.5.250.0100.07720.61
5.5.240.0200.02320.14

preferences:
62.29 ms | 400 KiB | 5 Q