3v4l.org

run code in 300+ PHP versions simultaneously
<?php Class Prank { public function __construct() { throw new Exception(); } public function doPraink() { echo 'hi'; } } try { // This may throw an exception when created! $o = new Pronk(); } catch (Exception $ex) { // Handle & exit somehow; not important here return false; } $o->doPronk();

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.0110.00418.55
8.3.50.0120.00521.08
8.3.40.0140.00318.96
8.3.30.0100.01018.67
8.3.20.0040.00420.21
8.3.10.0030.00621.47
8.3.00.0040.00422.43
8.2.180.0140.00716.75
8.2.170.0150.00022.96
8.2.160.0060.01320.35
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0080.00026.16
8.2.120.0000.01017.63
8.2.110.0070.00321.06
8.2.100.0080.00417.50
8.2.90.0040.00419.28
8.2.80.0030.00517.97
8.2.70.0040.00417.50
8.2.60.0030.00617.80
8.2.50.0050.00518.07
8.2.40.0000.00821.01
8.2.30.0080.00019.75
8.2.20.0030.00617.59
8.2.10.0000.00717.86
8.2.00.0000.00817.99
8.1.280.0150.00325.92
8.1.270.0050.00320.32
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0100.00019.01
8.1.230.0080.00417.42
8.1.220.0090.00017.74
8.1.210.0090.00018.77
8.1.200.0030.00617.35
8.1.190.0000.00817.25
8.1.180.0000.00718.10
8.1.170.0080.00018.51
8.1.160.0030.00721.89
8.1.150.0070.00018.81
8.1.140.0050.00317.38
8.1.130.0030.00617.69
8.1.120.0000.00817.39
8.1.110.0000.00717.38
8.1.100.0000.00717.37
8.1.90.0000.00717.37
8.1.80.0000.00717.35
8.1.70.0030.00517.38
8.1.60.0060.00317.56
8.1.50.0040.00417.53
8.1.40.0000.00817.48
8.1.30.0000.00917.65
8.1.20.0000.00717.57
8.1.10.0040.00417.52
8.1.00.0000.00817.42
8.0.300.0080.00018.77
8.0.290.0040.00416.75
8.0.280.0030.00318.28
8.0.270.0070.00017.14
8.0.260.0000.00617.09
8.0.250.0040.00416.95
8.0.240.0030.00316.95
8.0.230.0000.00716.79
8.0.220.0000.00716.91
8.0.210.0000.00716.85
8.0.200.0070.00016.81
8.0.190.0070.00016.99
8.0.180.0050.00216.80
8.0.170.0040.00416.77
8.0.160.0040.00416.85
8.0.150.0000.00716.88
8.0.140.0060.00316.89
8.0.130.0050.00013.27
8.0.120.0040.00416.87
8.0.110.0040.00416.88
8.0.100.0040.00416.70
8.0.90.0050.00316.84
8.0.80.0120.00316.87
8.0.70.0050.00316.80
8.0.60.0000.00716.86
8.0.50.0040.00416.71
8.0.30.0060.01017.01
8.0.20.0130.00617.40
8.0.10.0000.00716.86
8.0.00.0080.01016.69
7.4.330.0060.00015.08
7.4.320.0000.00716.58
7.4.300.0040.00416.40
7.4.290.0000.00816.48
7.4.280.0040.00416.39
7.4.270.0000.00716.51
7.4.260.0070.00016.58
7.4.250.0050.00216.52
7.4.240.0020.00516.60
7.4.230.0000.00716.34
7.4.220.0120.00616.52
7.4.210.0040.01216.60
7.4.200.0030.00316.58
7.4.160.0130.00316.42
7.4.150.0110.00717.40
7.4.140.0130.00917.86
7.4.130.0120.00916.51
7.4.120.0140.00616.45
7.4.110.0100.00916.49
7.4.100.0090.00916.61
7.4.90.0180.00016.44
7.4.80.0100.00719.39
7.4.70.0100.01416.40
7.4.60.0130.00316.56
7.4.50.0030.00516.49
7.4.40.0030.01416.25
7.4.30.0070.01116.55
7.4.00.0030.01215.14
7.3.330.0030.00513.26
7.3.320.0000.00513.27
7.3.310.0000.00716.15
7.3.300.0040.00416.30
7.3.290.0000.00716.30
7.3.280.0110.00816.33
7.3.270.0100.00617.40
7.3.260.0090.00916.37
7.3.250.0060.01116.29
7.3.240.0130.00316.34
7.3.230.0090.01616.54
7.3.210.0170.00016.57
7.3.200.0110.01119.39
7.3.190.0140.00316.41
7.3.180.0060.01016.44
7.3.170.0030.01716.32
7.3.160.0110.01616.40
7.3.10.0000.01016.56
7.3.00.0070.00416.36
7.2.330.0090.00916.52
7.2.320.0170.00716.62
7.2.310.0100.01316.58
7.2.300.0070.01016.55
7.2.290.0100.00716.41
7.2.130.0040.00816.94
7.2.120.0060.00616.63
7.2.110.0000.01016.73
7.2.100.0110.00016.68
7.2.90.0070.00416.95
7.2.80.0080.00316.88
7.2.70.0060.00916.92
7.2.60.0070.00416.77
7.2.50.0040.00816.77
7.2.40.0100.00316.64
7.2.30.0080.00316.64
7.2.20.0060.00816.88
7.2.10.0040.01116.92
7.2.00.0040.00918.10
7.1.250.0030.00615.41
7.1.200.0090.00015.39
7.1.100.0040.00717.81
7.1.70.0040.00417.08
7.1.60.0140.01020.03
7.1.50.0090.01616.93
7.1.00.0070.07022.37
7.0.200.0430.00314.97
7.0.110.0230.08019.99
7.0.100.0870.07319.98
7.0.90.0700.07319.94
7.0.80.0570.07019.97
7.0.70.0530.07019.93
7.0.60.0470.08019.96
7.0.50.0500.05320.23
7.0.40.0170.06019.96
7.0.30.0070.07720.27
7.0.20.0100.08320.13
7.0.10.0130.07720.15
7.0.00.0100.07720.14
5.6.280.0130.04721.07
5.6.260.0100.07720.64
5.6.250.0130.06720.61
5.6.240.0100.06020.52
5.6.230.0100.08020.50
5.6.220.0030.04020.79
5.6.210.0130.07320.54
5.6.200.0000.08021.20
5.6.190.0070.08021.03
5.6.180.0130.07321.27
5.6.170.0070.07720.95
5.6.160.0130.07720.92
5.6.150.0130.07021.08
5.6.140.0030.07720.95
5.6.130.0100.06720.96
5.6.120.0000.09021.14
5.6.110.0030.08720.95
5.6.100.0070.08021.13
5.6.90.0130.07721.00
5.6.80.0030.05320.35
5.6.70.0030.07320.43
5.6.60.0170.07020.33
5.6.50.0030.09020.46
5.6.40.0100.07720.29
5.6.30.0070.08020.46
5.6.20.0100.06320.44
5.6.10.0170.03720.63
5.6.00.0170.07320.42
5.5.380.0100.08020.42
5.5.370.0070.07720.32
5.5.360.0030.04020.36
5.5.350.0070.08320.43
5.5.340.0100.07320.87
5.5.330.0130.07320.74
5.5.320.0100.07720.95
5.5.310.0100.07320.81
5.5.300.0130.04320.90
5.5.290.0170.04020.78
5.5.280.0100.05020.87
5.5.270.0070.04320.84
5.5.260.0130.08020.83
5.5.250.0100.06320.63
5.5.240.0100.06720.13
5.5.230.0070.08720.28
5.5.220.0000.09020.41
5.5.210.0230.06320.41
5.5.200.0070.07720.37
5.5.190.0170.06720.34
5.5.180.0170.08020.32
5.5.160.0070.07320.16
5.5.150.0130.07720.36
5.5.140.0100.06320.25
5.5.130.0100.07720.16
5.5.120.0130.06720.36
5.5.110.0000.08320.16
5.5.100.0030.07319.99
5.5.90.0070.07720.00
5.5.80.0030.03720.21
5.5.70.0070.07320.20
5.5.60.0100.04020.13
5.5.50.0100.04720.12
5.5.40.0100.03019.98
5.5.30.0070.08020.23
5.5.20.0100.07320.23
5.5.10.0070.07320.23
5.5.00.0030.08320.21
5.4.450.0130.07319.27
5.4.440.0130.06019.27
5.4.430.0170.07019.33
5.4.420.0070.07319.39
5.4.410.0070.06319.38
5.4.400.0070.07318.98
5.4.390.0030.07718.98
5.4.380.0100.07319.13
5.4.370.0030.08319.23
5.4.360.0100.07019.18
5.4.350.0100.06319.01
5.4.340.0100.05718.94
5.4.320.0000.08318.95
5.4.310.0100.07019.07
5.4.300.0100.07018.94
5.4.290.0130.06719.22
5.4.280.0130.06318.96
5.4.270.0000.04718.97
5.4.260.0070.07319.00
5.4.250.0070.07019.33
5.4.240.0030.06019.07
5.4.230.0100.07019.30
5.4.220.0030.08019.18
5.4.210.0030.05719.21
5.4.200.0070.07319.14
5.4.190.0070.07319.03
5.4.180.0000.08019.02
5.4.170.0070.07318.99
5.4.160.0070.07718.95
5.4.150.0100.06718.96
5.4.140.0030.04716.49
5.4.130.0030.07016.57
5.4.120.0130.07316.48
5.4.110.0100.07016.46
5.4.100.0070.07016.54
5.4.90.0070.07016.65
5.4.80.0070.07316.47
5.4.70.0100.07016.38
5.4.60.0130.05716.45
5.4.50.0100.07316.41
5.4.40.0000.08016.39
5.4.30.0130.06716.56
5.4.20.0070.06316.53
5.4.10.0070.06716.55
5.4.00.0070.07316.02

preferences:
57.25 ms | 401 KiB | 5 Q