3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 1; var_dump(new class($i) extends Exception{ public function __construct($i) { $this->i = $i; } });

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.0170.00016.63
8.3.50.0070.01316.46
8.3.40.0090.00618.93
8.3.30.0120.00318.84
8.3.20.0050.00320.17
8.3.10.0040.00423.77
8.3.00.0040.00417.93
8.2.180.0070.00718.41
8.2.170.0110.00422.96
8.2.160.0120.00320.52
8.2.150.0030.00524.18
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0040.00417.63
8.2.110.0070.00322.33
8.2.100.0090.00317.97
8.2.90.0040.00417.60
8.2.80.0050.00317.97
8.2.70.0080.00017.50
8.2.60.0040.00418.03
8.2.50.0050.00818.10
8.2.40.0050.00321.10
8.2.30.0000.00820.54
8.2.20.0040.00417.69
8.2.10.0000.00718.04
8.2.00.0000.00718.11
8.1.270.0100.00724.01
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0040.00422.45
8.1.230.0080.00420.97
8.1.220.0000.00817.79
8.1.210.0050.00318.85
8.1.200.0030.00617.35
8.1.190.0090.00017.35
8.1.180.0000.00718.10
8.1.170.0040.00420.21
8.1.160.0040.00421.97
8.1.150.0050.00318.84
8.1.140.0080.00019.71
8.1.130.0070.00017.71
8.1.120.0000.00717.40
8.1.110.0020.00517.45
8.1.100.0000.00717.41
8.1.90.0040.00417.47
8.1.80.0000.00717.42
8.1.70.0070.00017.38
8.1.60.0030.00617.47
8.1.50.0000.00817.45
8.1.40.0040.00417.56
8.1.30.0000.00817.56
8.1.20.0040.00417.59
8.1.10.0060.00317.54
8.1.00.0000.00817.44
8.0.300.0040.00420.03
8.0.290.0040.00416.63
8.0.280.0070.00018.50
8.0.270.0000.00717.17
8.0.260.0000.00717.27
8.0.250.0050.00316.96
8.0.240.0030.00516.95
8.0.230.0000.00716.82
8.0.220.0000.00816.91
8.0.210.0000.00716.79
8.0.200.0000.00616.98
8.0.190.0000.00816.86
8.0.180.0040.00416.81
8.0.170.0000.00816.83
8.0.160.0030.00316.85
8.0.150.0000.00716.77
8.0.140.0070.00016.91
8.0.130.0000.00513.31
8.0.120.0060.00316.79
8.0.110.0040.00416.88
8.0.100.0080.00016.79
8.0.90.0070.00016.89
8.0.80.0030.01716.93
8.0.70.0040.00416.79
8.0.60.0000.00716.68
8.0.50.0040.00417.01
8.0.30.0120.00616.97
8.0.20.0070.01217.40
8.0.10.0000.00716.95
8.0.00.0100.00916.74
7.4.330.0060.00015.14
7.4.320.0060.00016.50
7.4.300.0000.00616.55
7.4.290.0050.00216.46
7.4.280.0000.00816.51
7.4.270.0000.00716.50
7.4.260.0070.00016.57
7.4.250.0000.00716.62
7.4.240.0030.00316.56
7.4.230.0030.00316.69
7.4.220.0090.00916.61
7.4.210.0060.00916.50
7.4.200.0070.00016.40
7.4.160.0060.01116.69
7.4.150.0110.00617.40
7.4.140.0070.01317.86
7.4.130.0050.01316.51
7.4.120.0120.01216.51
7.4.110.0030.01516.47
7.4.100.0090.00816.39
7.4.90.0100.00716.42
7.4.80.0070.01119.39
7.4.70.0130.00616.62
7.4.60.0120.00916.57
7.4.50.0000.00516.41
7.4.40.0130.00316.68
7.4.30.0130.01116.46
7.4.00.0070.01015.06
7.3.330.0000.00513.35
7.3.320.0030.00313.17
7.3.310.0080.00016.13
7.3.300.0000.00716.31
7.3.290.0060.00916.30
7.3.280.0110.00516.27
7.3.270.0120.00617.40
7.3.260.0090.00916.43
7.3.250.0130.00416.44
7.3.240.0070.01216.41
7.3.230.0150.00616.46
7.3.210.0100.00716.29
7.3.200.0080.00916.25
7.3.190.0100.00616.23
7.3.180.0100.00616.56
7.3.170.0120.00616.42
7.3.160.0110.00716.64
7.3.120.0090.00614.95
7.3.110.0090.00614.66
7.3.100.0060.00614.54
7.3.90.0070.00714.89
7.3.80.0140.00014.71
7.3.70.0080.00314.61
7.3.60.0120.00614.84
7.3.50.0040.00414.88
7.3.40.0080.00814.89
7.3.30.0110.00414.57
7.3.20.0000.00916.39
7.3.10.0100.00316.43
7.3.00.0100.00416.30
7.2.330.0220.00016.69
7.2.320.0130.00916.73
7.2.310.0120.00616.59
7.2.300.0060.01216.61
7.2.290.0090.01616.45
7.2.240.0100.00715.08
7.2.230.0130.00015.19
7.2.220.0000.01615.04
7.2.210.0090.00614.71
7.2.200.0060.00914.90
7.2.190.0070.00714.97
7.2.180.0070.01015.11
7.2.170.0090.00614.68
7.2.160.0000.01814.92
7.2.150.0070.01116.95
7.2.140.0120.00316.82
7.2.130.0120.00416.74
7.2.120.0070.01116.67
7.2.110.0080.00816.55
7.2.100.0070.01016.63
7.2.90.0050.01216.59
7.2.80.0100.00716.52
7.2.70.0090.00916.62
7.2.60.0100.00516.74
7.2.50.0070.00716.54
7.2.40.0080.00816.58
7.2.30.0070.00716.69
7.2.20.0100.00416.74
7.2.10.0070.01016.65
7.2.00.0100.00417.49
7.1.330.0070.00715.71
7.1.320.0110.00415.87
7.1.310.0030.01015.88
7.1.300.0070.00715.73
7.1.290.0000.01115.82
7.1.280.0000.01015.65
7.1.270.0060.00615.66
7.1.260.0030.01415.88
7.1.250.0080.00715.57
7.1.200.0120.01215.50
7.1.100.0050.00518.05
7.1.70.0030.00617.11
7.1.60.0110.01519.50
7.1.50.0200.01334.42
7.1.00.0030.07722.43
7.0.200.0060.00614.95
7.0.60.0030.07721.72
7.0.50.0100.04017.84
7.0.40.0070.05720.05
7.0.30.0300.06020.24
7.0.20.0270.04720.12
7.0.10.0030.04720.34
7.0.00.0070.04720.16
5.6.280.0070.02721.10
5.6.210.0070.08020.70
5.6.200.0130.03718.20
5.6.190.0070.08320.57
5.6.180.0300.07720.34
5.6.170.0400.07320.48
5.6.160.0200.07020.44
5.6.150.0030.06718.21
5.6.140.0030.04018.19
5.6.130.0030.08318.26
5.6.120.0070.04720.95
5.6.110.0030.06321.00
5.6.100.0130.06021.01
5.6.90.0230.06720.96
5.6.80.0100.05020.50
5.5.350.0030.08720.46
5.5.340.0100.06717.99
5.5.330.0070.06320.37
5.5.320.3630.04020.34
5.5.310.0200.05020.50
5.5.300.0130.07318.05
5.5.290.0030.08017.93
5.5.280.0130.05320.97
5.5.270.0100.05720.85
5.5.260.0170.07320.86
5.5.250.0100.03720.65
5.5.240.0070.03720.15
5.4.450.0200.06319.61
5.4.440.0300.05019.59
5.4.430.0230.05719.46
5.4.420.0430.06319.48
5.4.410.0470.06019.18
5.4.400.0330.06719.29
5.4.390.0270.08019.29
5.4.380.0300.07019.28
5.4.370.0430.05718.88
5.4.360.0270.05719.13
5.4.350.0230.06019.15
5.4.340.0330.05319.16
5.4.320.0330.07319.15
5.4.310.0330.07019.31
5.4.300.0530.06719.30
5.4.290.0630.06319.30
5.4.280.0370.06719.14
5.4.270.0330.06319.01
5.4.260.0300.07018.84
5.4.250.0430.06018.83
5.4.240.0200.06719.27
5.4.230.0470.06718.97
5.4.220.0270.06319.14
5.4.210.0530.06019.23
5.4.200.0300.05719.22
5.4.190.0470.05019.11
5.4.180.0470.06319.14
5.4.170.0330.07019.14
5.4.160.0430.06019.26
5.4.150.0330.07718.84
5.4.140.0400.06316.52
5.4.130.0330.04716.45
5.4.120.0370.05316.36
5.4.110.0200.06016.44
5.4.100.0270.05716.62
5.4.90.0330.06016.57
5.4.80.0470.05016.24
5.4.70.0270.03316.27
5.4.60.0000.06316.52
5.4.50.0030.03316.39
5.4.40.0200.06316.43
5.4.30.0300.04716.38
5.4.20.0000.04716.53

preferences:
66.14 ms | 400 KiB | 5 Q