3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_exception_handler("custom_exception_handler"); function custom_exception_handler($e){ echo "foo"; exit; } throw new Exception("bar"); ?>

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.0140.00718.43
8.3.50.0090.01621.09
8.3.40.0040.01118.80
8.3.30.0070.00719.04
8.3.20.0070.00020.13
8.3.10.0070.00023.36
8.3.00.0080.00019.38
8.2.180.0140.00718.66
8.2.170.0000.01422.96
8.2.160.0040.01120.39
8.2.150.0090.00024.18
8.2.140.0060.00324.66
8.2.130.0000.00826.16
8.2.120.0040.00422.15
8.2.110.0080.00022.25
8.2.100.0060.00617.75
8.2.90.0000.00719.22
8.2.80.0000.00917.97
8.2.70.0060.00317.61
8.2.60.0030.00518.03
8.2.50.0080.00018.07
8.2.40.0030.00519.95
8.2.30.0040.00417.88
8.2.20.0040.00417.68
8.2.10.0080.00018.02
8.2.00.0050.00217.74
8.1.280.0080.00825.92
8.1.270.0090.00021.94
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00323.79
8.1.230.0070.00417.42
8.1.220.0040.00417.74
8.1.210.0070.00018.77
8.1.200.0040.00417.24
8.1.190.0040.00417.35
8.1.180.0050.00318.10
8.1.170.0040.00418.72
8.1.160.0040.00421.98
8.1.150.0070.00018.91
8.1.140.0000.00717.30
8.1.130.0030.00317.76
8.1.120.0030.00417.31
8.1.110.0000.00817.43
8.1.100.0040.00417.38
8.1.90.0000.00717.36
8.1.80.0030.00717.41
8.1.70.0030.00317.36
8.1.60.0000.00817.51
8.1.50.0000.00717.44
8.1.40.0040.00417.43
8.1.30.0080.00017.51
8.1.20.0000.00717.51
8.1.10.0040.00417.55
8.1.00.0030.00617.33
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.32
8.0.270.0040.00417.26
8.0.260.0000.00717.14
8.0.250.0030.00316.92
8.0.240.0000.00816.85
8.0.230.0030.00316.91
8.0.220.0030.00316.92
8.0.210.0030.00516.91
8.0.200.0000.00616.84
8.0.190.0040.00416.86
8.0.180.0000.00716.91
8.0.170.0080.00016.92
8.0.160.0000.00716.75
8.0.150.0000.00716.87
8.0.140.0000.00716.95
8.0.130.0000.00513.38
8.0.120.0040.00416.93
8.0.110.0080.00016.89
8.0.100.0070.00016.80
8.0.90.0000.00716.84
8.0.80.0030.01317.02
8.0.70.0040.00416.96
8.0.60.0000.00816.85
8.0.50.0070.00016.95
8.0.30.0140.01517.17
8.0.20.0130.00617.40
8.0.10.0050.00317.05
8.0.00.0090.00916.78
7.4.330.0020.00215.00
7.4.320.0000.00716.54
7.4.300.0000.00616.54
7.4.290.0050.00216.43
7.4.280.0000.01116.43
7.4.270.0030.00316.42
7.4.260.0070.00016.40
7.4.250.0080.00016.31
7.4.240.0050.00216.54
7.4.230.0040.00416.47
7.4.220.0100.00716.51
7.4.210.0060.01316.41
7.4.200.0030.00316.61
7.4.160.0130.00416.45
7.4.150.0100.00717.40
7.4.140.0090.01217.86
7.4.130.0050.01216.33
7.4.120.0130.00916.53
7.4.110.0150.00416.36
7.4.100.0090.00916.36
7.4.90.0130.00416.47
7.4.80.0080.01219.39
7.4.70.0090.00616.59
7.4.60.0060.00916.56
7.4.50.0000.00416.49
7.4.40.0100.00716.36
7.4.30.0190.00316.40
7.4.00.0070.00415.20
7.3.330.0030.00313.09
7.3.320.0060.00013.14
7.3.310.0040.00416.29
7.3.300.0000.00716.16
7.3.290.0130.00716.30
7.3.280.0110.00516.29
7.3.270.0090.00917.40
7.3.260.0100.00716.32
7.3.250.0120.00916.44
7.3.240.0090.00916.29
7.3.230.0090.00916.39
7.3.210.0070.01116.21
7.3.200.0040.01619.39
7.3.190.0130.01016.48
7.3.180.0120.00416.46
7.3.170.0070.01016.30
7.3.160.0100.00716.54
7.3.40.0130.01014.73
7.3.30.0030.01014.48
7.3.20.0110.00414.66
7.3.10.0050.00915.46
7.3.00.0100.00415.53
7.2.330.0130.00316.66
7.2.320.0090.00916.66
7.2.310.0060.01016.73
7.2.300.0060.00916.34
7.2.290.0140.00316.82
7.2.170.0060.01915.02
7.2.160.0060.00914.86
7.2.150.0180.00314.91
7.2.140.0160.01915.05
7.2.130.0090.00315.77
7.2.120.0090.00916.06
7.2.110.0100.00715.96
7.2.100.0110.00615.90
7.2.90.0090.00815.97
7.2.80.0110.00616.10
7.2.70.0070.00716.14
7.2.60.0090.00716.20
7.2.50.0100.00816.15
7.2.40.0320.00816.08
7.2.30.0090.01016.19
7.2.20.0100.00616.22
7.2.10.0080.00816.13
7.2.00.0110.00516.30
7.1.280.0070.01313.57
7.1.270.0100.01313.61
7.1.260.0160.00613.49
7.1.250.0050.00814.70
7.1.240.0140.00714.58
7.1.230.0120.00714.77
7.1.220.0120.00814.64
7.1.210.0140.00614.61
7.1.200.0130.00515.07
7.1.190.0050.01414.53
7.1.180.0170.00514.62
7.1.170.0140.00614.83
7.1.160.0130.00714.51
7.1.150.0040.01514.45
7.1.140.0160.00514.56
7.1.130.0110.00714.60
7.1.120.0170.00814.63
7.1.110.0110.00614.62
7.1.100.0150.01114.70
7.1.90.0120.01114.81
7.1.80.0120.00814.66
7.1.70.0110.00715.54
7.1.60.0140.01216.02
7.1.50.0140.00415.36
7.1.40.0080.01014.62
7.1.30.0120.00914.60
7.1.20.0420.00514.66
7.1.10.0090.00814.53
7.1.00.0070.03217.20
7.0.330.0100.00313.23
7.0.320.0100.00614.29
7.0.310.0070.01314.21
7.0.300.0150.00814.19
7.0.290.0130.00814.18
7.0.280.0130.00814.28
7.0.270.0100.00714.29
7.0.260.0180.00114.13
7.0.250.0090.00814.24
7.0.240.0130.00713.93
7.0.230.0160.00614.34
7.0.220.0100.00514.16
7.0.210.0190.00614.13
7.0.200.0090.00515.05
7.0.190.0190.00514.23
7.0.180.0110.01214.32
7.0.170.0140.00914.37
7.0.160.0170.00814.30
7.0.150.0120.00714.30
7.0.140.0110.02816.97
7.0.130.0110.00714.46
7.0.120.0080.01014.23
7.0.110.0130.00614.39
7.0.100.0150.03216.21
7.0.90.0190.03616.15
7.0.80.0110.03516.20
7.0.70.0120.02716.03
7.0.60.0230.03115.95
7.0.50.0200.01516.39
7.0.40.0110.03116.26
7.0.30.0120.03216.16
7.0.20.0120.03116.30
7.0.10.0100.03216.29
7.0.00.0140.02816.13
5.6.400.0150.00614.03
5.6.390.0070.00414.17
5.6.380.0060.00814.18
5.6.370.0120.00514.41
5.6.360.0150.00514.05
5.6.350.0080.01013.93
5.6.340.0050.01813.85
5.6.330.0110.00914.18
5.6.320.0110.01014.05
5.6.310.0120.01114.05
5.6.300.0150.01214.15
5.6.290.0120.00714.16
5.6.280.0090.03716.45
5.6.270.0090.00914.21
5.6.260.0150.00714.14
5.6.250.0100.03416.30
5.6.240.0150.02816.15
5.6.230.0150.03116.27
5.6.220.0110.03116.20
5.6.210.0060.02016.26
5.6.200.0130.03016.34
5.6.190.0080.02416.31
5.6.180.0110.02816.37
5.6.170.0100.03216.50
5.6.160.0100.03016.26
5.6.150.0100.03116.48
5.6.140.0090.03116.28
5.6.130.0090.03416.33
5.6.120.0110.03316.52
5.6.110.0100.02216.30
5.6.100.0060.02416.30
5.6.90.0120.03016.37
5.6.80.0110.02616.09
5.6.70.0120.02016.19
5.6.60.0100.02416.16
5.6.50.0080.02216.09
5.6.40.0090.03016.05
5.6.30.0060.03416.04
5.6.20.0070.03516.07
5.6.10.0080.03516.17
5.6.00.0150.01116.09
5.5.380.0180.02815.11
5.5.370.0090.02215.21
5.5.360.0070.03215.22
5.5.350.0060.03015.06
5.5.340.0130.01615.17
5.5.330.0090.01915.29
5.5.320.0110.02915.17
5.5.310.0110.03315.19
5.5.300.0110.02715.29
5.5.290.0150.02714.94
5.5.280.0130.02815.50
5.5.270.0090.01815.22
5.5.260.0120.02515.20
5.5.250.0100.02915.06
5.5.240.0140.02515.02
5.5.230.0070.02114.99
5.5.220.0060.02015.11
5.5.210.0090.03014.93
5.5.200.0080.01915.04
5.5.190.0090.03114.99
5.5.180.0110.01615.02
5.5.170.0140.00613.77
5.5.160.0110.02315.08
5.5.150.0080.03315.01
5.5.140.0070.02715.08
5.5.130.0060.01814.83
5.5.120.0070.03314.97
5.5.110.0110.02814.89
5.5.100.0060.03214.72
5.5.90.0100.01914.79
5.5.80.0100.02614.89
5.5.70.0080.02814.96
5.5.60.0100.02715.04
5.5.50.0110.02814.94
5.5.40.0100.02914.97
5.5.30.0080.01715.11
5.5.20.0070.02815.00
5.5.10.0130.01915.06
5.5.00.0060.02714.99
5.4.450.0090.02814.04
5.4.440.0080.02414.08
5.4.430.0120.02414.08
5.4.420.0040.03113.92
5.4.410.0100.02814.01
5.4.400.0070.01814.03
5.4.390.0100.02613.86
5.4.380.0080.02413.90
5.4.370.0060.02613.85
5.4.360.0070.02713.97
5.4.350.0100.03214.02
5.4.340.0050.02513.79
5.4.330.0080.00411.35
5.4.320.0050.03114.00
5.4.310.0090.02314.02
5.4.300.0040.03113.88
5.4.290.0080.02713.86
5.4.280.0080.02813.95
5.4.270.0080.02913.83
5.4.260.0030.01813.88
5.4.250.0060.03013.87
5.4.240.0080.02913.84
5.4.230.0040.03113.94
5.4.220.0050.03113.88
5.4.210.0100.02613.92
5.4.200.0100.02713.96
5.4.190.0110.02213.90
5.4.180.0090.02913.98
5.4.170.0060.02013.96
5.4.160.0080.01513.74
5.4.150.0060.02613.98
5.4.140.0100.02313.03
5.4.130.0110.02212.91
5.4.120.0060.02313.05
5.4.110.0090.02713.01
5.4.100.0100.01713.07
5.4.90.0090.02613.04
5.4.80.0090.02113.04
5.4.70.0080.02813.09
5.4.60.0080.01813.00
5.4.50.0090.02513.04
5.4.40.0100.02713.13
5.4.30.0070.02613.03
5.4.20.0080.02613.08
5.4.10.0060.03013.04
5.4.00.0070.02412.84

preferences:
49.44 ms | 401 KiB | 5 Q