3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a { private $prop; public function __construct() { $this->prop = new a(); } } new a();

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.0660.02678.82
8.3.50.0390.01378.56
8.3.40.0340.01747.60
8.3.30.0270.02147.46
8.3.20.0240.00347.88
8.3.10.0180.00650.98
8.3.00.0140.00747.93
8.2.180.0940.02078.63
8.2.170.0370.01747.75
8.2.160.0380.01449.19
8.2.150.0240.00647.60
8.2.140.0230.01749.25
8.2.130.0190.01049.39
8.2.120.0360.01348.13
8.2.110.0210.00748.27
8.2.100.0350.00746.61
8.2.90.0270.00046.50
8.2.80.0130.01347.38
8.2.70.0280.00446.38
8.2.60.0130.01346.38
8.2.50.0130.01046.80
8.2.40.0240.00446.11
8.2.30.0130.00947.88
8.2.20.0100.01446.77
8.2.10.0110.01846.73
8.2.00.0130.01048.10
8.1.280.0860.01378.02
8.1.270.0170.01051.07
8.1.260.0170.00748.92
8.1.250.0200.00751.09
8.1.240.0000.01951.82
8.1.230.0220.01446.45
8.1.220.0190.00646.41
8.1.210.0170.01046.10
8.1.200.0190.00946.00
8.1.190.0150.01245.98
8.1.180.0250.00346.16
8.1.170.0150.00946.25
8.1.160.0130.01047.52
8.1.150.0110.01447.65
8.1.140.0190.01551.06
8.1.130.0120.01248.79
8.1.120.0100.01346.13
8.1.110.0070.01746.24
8.1.100.0100.01346.23
8.1.90.0070.01846.18
8.1.80.0160.01346.10
8.1.70.0110.01146.25
8.1.60.0160.01046.41
8.1.50.0130.01346.29
8.1.40.0230.01346.38
8.1.30.0100.01646.29
8.1.20.0110.01446.41
8.1.10.0260.02379.52
8.1.00.0240.02479.52
8.0.300.0230.02378.89
8.0.290.0190.02978.70
8.0.280.0250.01880.36
8.0.270.0330.01379.20
8.0.260.0270.01780.41
8.0.250.0400.01078.81
8.0.240.0370.01378.86
8.0.230.0310.01378.80
8.0.220.0390.01378.56
8.0.210.0240.01778.76
8.0.200.0320.01078.61
8.0.190.0270.02178.81
8.0.180.0300.01778.79
8.0.170.0520.02278.64
8.0.160.0190.03278.79
8.0.150.0400.01678.60
8.0.140.0280.02478.73
8.0.130.0470.034133.64
8.0.120.0310.01778.59
8.0.110.0220.02578.76
8.0.100.0270.01778.71
8.0.90.0160.02678.72
8.0.80.0490.05978.69
8.0.70.0290.01378.63
8.0.60.0260.02678.66
8.0.50.0200.02378.70
8.0.30.0520.05578.96
8.0.20.0720.04179.03
8.0.10.0300.02078.64
8.0.00.0680.04678.52
7.4.330.0280.00975.22
7.4.320.0290.01678.36
7.4.300.0210.02178.37
7.4.290.0370.01078.29
7.4.280.0370.01778.44
7.4.270.0220.02978.35
7.4.260.0230.02378.27
7.4.250.0250.02578.30
7.4.240.0330.01378.44
7.4.230.0260.01978.45
7.4.220.0330.02078.25
7.4.210.0630.05978.45
7.4.200.0260.01978.24
7.4.160.0670.04278.45
7.4.140.0680.04978.36
7.4.130.0760.07078.44
7.4.120.0640.05678.38
7.4.110.0810.06078.37
7.4.100.0520.05578.40
7.4.90.0560.05078.39
7.4.80.0770.04478.29
7.4.70.0570.05678.28
7.4.60.0680.07278.38
7.4.50.0310.03378.45
7.4.40.0810.05378.39
7.3.330.0370.044133.69
7.3.320.0690.036133.49
7.3.310.0170.03078.00
7.3.300.0200.02778.19
7.3.290.0310.01778.25
7.3.280.0650.04078.11
7.3.260.0760.04878.25
7.3.240.0630.05778.28
7.3.230.0620.04678.12
7.3.210.0650.04578.23
7.3.200.0740.03978.34
7.3.190.0590.06378.39
7.3.180.0380.06878.24
7.3.170.0740.06278.13
7.3.160.0500.08078.29
7.2.330.0650.06578.64
7.2.320.0690.05978.52
7.2.310.0610.05278.39
7.2.300.0560.05678.61
7.2.290.0650.08178.50
7.2.120.8000.06776.51
7.2.110.7940.03876.33
7.2.101.8740.03375.94
7.2.91.5390.04276.74
7.2.81.7220.03376.53
7.2.72.3050.03776.54
7.2.61.4900.05677.18
7.2.51.3310.03977.14
7.2.42.5160.02964.82
7.2.31.1870.04576.86
7.2.20.9290.05977.12
7.2.11.8390.05576.75
7.2.01.3740.04676.72
7.1.240.9980.04875.96
7.1.230.8490.06576.07
7.1.221.6520.05075.86
7.1.212.2320.04376.00
7.1.200.6310.04975.95
7.1.192.1830.02675.95
7.1.181.5340.05375.84
7.1.172.4120.02369.63
7.1.161.1520.04375.96
7.1.150.5450.04876.13
7.1.141.1660.03476.09
7.1.132.2810.03673.75
7.1.121.0630.03675.82
7.1.111.2150.04275.80
7.1.101.0570.04375.86
7.1.91.1300.03376.04
7.1.81.1540.04675.98
7.1.71.3000.03775.99
7.1.61.0980.05376.00
7.1.51.2800.05676.27
7.1.40.9590.04475.84
7.1.30.9560.04575.85
7.1.20.8310.05276.02
7.1.10.8280.04375.84
7.1.00.8830.04376.05
5.6.380.0660.02676.74

preferences:
62.34 ms | 401 KiB | 5 Q