3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { function __destruct() { throw new Exception; } } try { new Foo; } catch (Exception $ex) { var_dump($ex->what()); echo "ABC\n"; }

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.40.0130.01018.79
8.3.30.0140.00018.48
8.3.20.0030.00520.19
8.3.10.0040.00421.75
8.3.00.0040.00817.38
8.2.170.0150.00322.96
8.2.160.0090.00622.08
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0000.00817.47
8.2.110.0040.00721.02
8.2.100.0080.00417.78
8.2.90.0000.00919.13
8.2.80.0050.00317.97
8.2.70.0030.00617.63
8.2.60.0030.00617.55
8.2.50.0060.00318.07
8.2.40.0040.00419.38
8.2.30.0040.00420.68
8.2.20.0000.00817.55
8.2.10.0050.00318.16
8.2.00.0050.00317.98
8.1.270.0050.00323.90
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0040.00420.87
8.1.230.0040.00722.75
8.1.220.0030.00717.77
8.1.210.0050.00518.77
8.1.200.0060.00317.48
8.1.190.0030.00517.36
8.1.180.0050.00318.10
8.1.170.0030.00518.89
8.1.160.0050.00321.85
8.1.150.0040.00418.76
8.1.140.0050.00319.61
8.1.130.0080.00017.68
8.1.120.0030.00417.38
8.1.110.0040.00417.48
8.1.100.0050.00217.50
8.1.90.0000.00717.45
8.1.80.0000.00817.44
8.1.70.0030.00317.49
8.1.60.0040.00417.46
8.1.50.0000.00817.50
8.1.40.0000.00917.46
8.1.30.0000.01117.51
8.1.20.0000.00817.62
8.1.10.0000.00717.63
8.1.00.0060.00317.39
8.0.300.0050.00218.77
8.0.290.0000.00816.63
8.0.280.0030.00318.36
8.0.270.0030.00617.06
8.0.260.0030.00317.10
8.0.250.0040.00416.96
8.0.240.0070.00016.82
8.0.230.0070.00016.91
8.0.220.0000.00716.88
8.0.210.0030.00316.81
8.0.200.0000.00617.00
8.0.190.0000.00716.92
8.0.180.0070.00016.94
8.0.170.0000.00716.91
8.0.160.0040.00416.99
8.0.150.0030.00617.01
8.0.140.0040.00416.93
8.0.130.0000.00613.31
8.0.120.0000.00816.84
8.0.110.0030.00316.95
8.0.100.0050.00216.95
8.0.90.0030.00416.81
8.0.80.0070.01116.92
8.0.70.0040.00417.02
8.0.60.0000.00817.01
8.0.50.0000.00716.79
8.0.30.0090.00816.89
8.0.20.0080.01217.40
8.0.10.0000.00716.94
8.0.00.0080.00916.84
7.4.330.0030.00315.20
7.4.320.0000.00616.59
7.4.300.0030.00316.55
7.4.290.0000.00716.50
7.4.280.0040.00416.55
7.4.270.0030.00316.56
7.4.260.0050.00216.52
7.4.250.0070.00016.45
7.4.240.0030.00316.57
7.4.230.0030.00316.57
7.4.220.0090.00916.59
7.4.210.0090.00916.60
7.4.200.0070.00016.49
7.4.160.0090.00616.58
7.4.150.0120.00617.40
7.4.140.0150.01317.86
7.4.130.0100.01016.50
7.4.120.0100.00716.51
7.4.110.0140.00316.55
7.4.100.0140.00516.56
7.4.90.0110.00716.64
7.4.80.0070.01019.39
7.4.70.0100.00616.35
7.4.60.0030.01216.50
7.4.50.0030.00516.41
7.4.40.0100.00716.40
7.4.30.0070.01116.64
7.4.00.0080.00815.00
7.3.330.0000.00513.22
7.3.320.0020.00213.35
7.3.310.0000.00716.22
7.3.300.0000.00716.22
7.3.290.0060.00016.36
7.3.280.0070.01216.35
7.3.270.0060.01017.40
7.3.260.0110.00616.31
7.3.250.0090.01016.51
7.3.240.0120.00716.61
7.3.230.0090.01216.57
7.3.210.0100.01016.35
7.3.200.0070.01016.58
7.3.190.0130.00316.41
7.3.180.0070.01416.39
7.3.170.0120.00316.57
7.3.160.0030.01316.41
7.3.120.0080.00814.83
7.3.110.0070.01114.76
7.3.100.0060.00814.96
7.3.90.0080.01014.70
7.3.80.0090.00514.91
7.3.70.0040.00714.82
7.3.60.0080.00614.72
7.3.50.0070.00314.75
7.3.40.0080.00714.83
7.3.30.0080.00414.79
7.3.20.0060.01016.71
7.3.10.0080.00516.57
7.3.00.0080.00716.71
7.2.330.0110.00716.43
7.2.320.0000.01716.51
7.2.310.0130.01016.54
7.2.300.0120.00616.63
7.2.290.0000.01716.32
7.2.250.0080.01015.11
7.2.240.0110.00815.01
7.2.230.0030.01114.82
7.2.220.0070.01214.86
7.2.210.0100.00614.94
7.2.200.0050.00814.97
7.2.190.0060.00615.10
7.2.180.0120.00314.94
7.2.170.0090.00814.89
7.2.130.0000.00916.94
7.2.120.0070.01116.55
7.2.110.0030.00716.64
7.2.100.0100.00616.66
7.2.90.0070.01016.81
7.2.80.0070.00716.88
7.2.70.0070.00716.89
7.2.60.0030.01016.82
7.2.50.0030.01016.88
7.2.40.0030.00717.01
7.2.30.0070.00716.84
7.2.20.0070.00716.89
7.2.10.0090.00616.54
7.2.00.0030.01018.05
7.1.330.0070.00715.89
7.1.320.0010.01315.70
7.1.310.0060.00615.67
7.1.300.0030.01115.60
7.1.290.0040.01015.59
7.1.280.0040.00515.61
7.1.270.0010.01315.66
7.1.260.0020.01315.74
7.1.250.0090.00315.81
7.1.200.0060.00915.34
7.1.100.0030.00717.98
7.1.70.0070.00717.21
7.1.60.0030.02019.43
7.1.50.0070.01416.96
7.1.00.0000.07722.49
7.0.200.0380.00314.54
7.0.60.0100.07019.87
7.0.50.0130.05717.88
7.0.40.0000.05019.98
7.0.30.0270.03320.06
7.0.20.0170.04020.15
7.0.10.0130.08020.27
7.0.00.0070.06020.12
5.6.280.0030.05721.07
5.6.210.0070.08020.68
5.6.200.0030.04018.19
5.6.190.0130.08020.77
5.6.180.3030.04020.34
5.6.170.0400.04020.50
5.6.160.0100.03720.55
5.6.150.0030.09018.29
5.6.140.0030.08718.11
5.6.130.0200.07318.15
5.6.120.0030.04720.97
5.6.110.0100.08020.98
5.6.100.0070.08720.89
5.6.90.0100.06021.10
5.6.80.0100.07720.36
5.5.350.0270.07320.44
5.5.340.0030.08317.94
5.5.330.0070.05320.31
5.5.320.0270.06320.35
5.5.310.0130.06020.50
5.5.300.0030.08717.97
5.5.290.0100.08017.95
5.5.280.0030.06020.78
5.5.270.0200.07720.88
5.5.260.0200.07020.79
5.5.250.0130.05320.54
5.5.240.0000.08020.19
5.4.450.0230.05319.39
5.4.440.0070.06719.70
5.4.430.0500.05319.70
5.4.420.0900.05719.34
5.4.410.0700.06319.07
5.4.400.0170.04719.38
5.4.390.0230.05319.26
5.4.380.0230.04719.29
5.4.370.0170.05018.88
5.4.360.0100.06719.06
5.4.350.0370.05319.37
5.4.340.0230.05719.32
5.4.320.0330.06718.87
5.4.310.0170.07019.23
5.4.300.0230.04019.14
5.4.290.0270.05019.05
5.4.280.0200.05319.37
5.4.270.0030.06019.15
5.4.260.0230.04719.28
5.4.250.0270.04718.89
5.4.240.0170.05719.01
5.4.230.0230.06019.37
5.4.220.0470.05719.11
5.4.210.0130.05318.97
5.4.200.0030.06319.14
5.4.190.0230.05019.13
5.4.180.0170.05018.86
5.4.170.0100.05319.14
5.4.160.0270.05319.12
5.4.150.0330.04018.82
5.4.140.0200.06716.33
5.4.130.0070.05316.54
5.4.120.0170.05316.55
5.4.110.0500.04316.60
5.4.100.0500.06016.19
5.4.90.0700.06016.28
5.4.80.0700.06316.24
5.4.70.0800.05016.51
5.4.60.0700.07016.57
5.4.50.0130.05716.50
5.4.40.0170.06016.42
5.4.30.0630.04716.61
5.4.20.0600.05716.42
5.4.10.0630.05716.42
5.4.00.0630.04715.77

preferences:
53.57 ms | 400 KiB | 5 Q