3v4l.org

run code in 300+ PHP versions simultaneously
<?php spl_autoload_register(function() { eval('class Foo {'); // syntax error }); spl_autoload_register(function() { throw new Exception(); }); new Widget();

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.0070.01416.75
8.3.50.0100.00716.36
8.3.40.0120.00318.84
8.3.30.0040.01118.98
8.3.20.0070.00020.32
8.3.10.0050.00221.85
8.3.00.0080.00023.79
8.2.180.0150.00318.29
8.2.170.0100.00722.96
8.2.160.0040.01119.29
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0080.00022.25
8.2.120.0090.00026.35
8.2.110.0000.00820.34
8.2.100.0080.00417.72
8.2.90.0000.00817.63
8.2.80.0060.00618.52
8.2.70.0040.00417.75
8.2.60.0050.00319.35
8.2.50.0040.00419.36
8.2.40.0040.00419.47
8.2.30.0000.00719.26
8.2.20.0020.00517.94
8.2.10.0040.00417.96
8.2.00.0040.00418.13
8.1.280.0100.00725.92
8.1.270.0050.00223.82
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00622.07
8.1.230.0070.00422.15
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0000.00817.35
8.1.190.0030.00517.35
8.1.180.0080.00018.10
8.1.170.0050.00319.13
8.1.160.0040.00418.79
8.1.150.0000.00820.11
8.1.140.0000.00819.57
8.1.130.0000.00718.89
8.1.120.0070.00017.44
8.1.110.0050.00317.32
8.1.100.0050.00317.40
8.1.90.0050.00217.27
8.1.80.0040.00417.45
8.1.70.0000.00817.39
8.1.60.0050.00317.52
8.1.50.0040.00417.50
8.1.40.0040.00417.35
8.1.30.0080.00017.58
8.1.20.0000.00717.56
8.1.10.0040.00417.53
8.1.00.0000.00817.45
8.0.300.0060.00319.65
8.0.290.0030.00516.75
8.0.280.0030.00318.45
8.0.270.0000.00817.25
8.0.260.0000.00617.26
8.0.250.0070.00016.96
8.0.240.0000.00916.92
8.0.230.0050.00216.89
8.0.220.0030.00416.95
8.0.210.0030.00316.84
8.0.200.0030.00317.05
8.0.190.0040.00416.93
8.0.180.0000.00716.88
8.0.170.0000.00717.00
8.0.160.0000.00817.03
8.0.150.0050.00316.88
8.0.140.0000.00816.93
8.0.130.0000.00813.43
8.0.120.0000.00816.95
8.0.110.0040.00416.98
8.0.100.0030.00517.07
8.0.90.0050.00316.77
8.0.80.0090.00616.90
8.0.70.0040.00417.02
8.0.60.0040.00416.95
8.0.50.0000.00816.82
8.0.30.0080.01017.03
8.0.20.0100.01117.40
8.0.10.0000.00717.05
8.0.00.0090.00916.71
7.4.330.0030.00315.55
7.4.320.0060.00016.46
7.4.300.0030.00316.48
7.4.290.0030.00316.52
7.4.280.0000.00916.50
7.4.270.0000.00816.43
7.4.260.0030.00316.49
7.4.250.0040.00416.56
7.4.240.0030.00316.52
7.4.230.0030.00316.50
7.4.220.0030.01416.64
7.4.210.0080.00616.46
7.4.200.0000.00716.34
7.4.160.0130.00516.56
7.4.150.0110.00717.40
7.4.140.0110.00917.86
7.4.130.0130.00416.55
7.4.120.0080.01316.56
7.4.110.0090.00916.37
7.4.100.0110.00716.43
7.4.90.0070.01016.48
7.4.80.0060.01319.39
7.4.70.0090.00616.60
7.4.60.0120.00316.38
7.4.50.0060.00916.39
7.4.40.0110.00616.52
7.4.30.0220.00416.30
7.4.00.0070.01014.80
7.3.330.0020.00213.28
7.3.320.0030.00313.30
7.3.310.0000.00716.29
7.3.300.0040.00416.29
7.3.290.0060.00916.32
7.3.280.0100.00616.30
7.3.270.0160.00317.40
7.3.260.0080.01716.45
7.3.250.0100.00616.27
7.3.240.0130.00616.30
7.3.230.0030.01316.54
7.3.210.0130.00316.52
7.3.200.0150.00616.48
7.3.190.0030.01616.24
7.3.180.0090.01216.38
7.3.170.0090.00916.41
7.3.160.0150.00616.43
7.2.330.0100.01416.44
7.2.320.0070.01116.47
7.2.310.0110.00616.70
7.2.300.0060.01216.42
7.2.290.0050.01316.75
7.2.60.0070.00716.88
7.1.200.0090.00315.66
7.1.100.0000.01617.99
7.1.70.0000.00917.04
7.1.60.0050.00517.14
7.1.50.0130.01016.88
7.1.30.1830.08536.46
7.1.20.3170.06336.57
7.1.10.4330.07720.44
7.1.00.2930.05020.62
7.0.200.0090.00616.84
7.0.170.2830.07720.09
7.0.160.3100.06020.05
7.0.150.2470.05020.06
7.0.140.2870.05320.08
7.0.130.3570.06320.19
7.0.120.4100.06720.30
7.0.110.5170.06319.89
7.0.100.3870.07319.94
7.0.90.3730.08020.04
7.0.80.4400.07320.03
7.0.70.3000.07720.09
7.0.60.4430.07019.98
7.0.50.4100.05720.07
7.0.40.2830.06020.07
7.0.30.2230.06320.07
7.0.20.2930.06320.04
7.0.10.2470.06320.05
7.0.00.2500.06020.18

preferences:
60.16 ms | 400 KiB | 5 Q