3v4l.org

run code in 300+ PHP versions simultaneously
<?php function exception_handler($exception) { echo "Uncaught exception: " , $exception->getMessage(), "\n"; } set_exception_handler('exception_handler'); throw new Exception('Uncaught Exception'); echo "Not Executed\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.70.0070.01016.63
8.3.60.0090.00918.43
8.3.50.0070.01317.95
8.3.40.0110.00418.79
8.3.30.0110.00318.63
8.3.20.0000.00919.36
8.3.10.0040.00421.73
8.3.00.0050.00320.53
8.2.180.0120.00616.36
8.2.170.0000.01522.96
8.2.160.0100.00322.08
8.2.150.0070.00024.18
8.2.140.0000.00724.66
8.2.130.0080.00017.97
8.2.120.0000.00826.35
8.2.110.0090.00019.10
8.2.100.0040.00818.03
8.2.90.0030.00617.63
8.2.80.0050.00319.09
8.2.70.0060.00318.03
8.2.60.0040.00418.21
8.2.50.0040.00418.10
8.2.40.0000.00821.07
8.2.30.0000.00819.29
8.2.20.0050.00218.04
8.2.10.0000.00718.11
8.2.00.0060.00317.75
8.1.280.0030.01225.92
8.1.270.0040.00418.88
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00620.49
8.1.230.0080.00318.95
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.13
8.1.190.0030.00517.25
8.1.180.0030.00518.10
8.1.170.0040.00418.50
8.1.160.0050.00318.79
8.1.150.0040.00418.84
8.1.140.0000.00722.14
8.1.130.0000.00620.23
8.1.120.0020.00517.41
8.1.110.0080.00017.23
8.1.100.0000.00817.41
8.1.90.0040.00417.38
8.1.80.0030.00517.40
8.1.70.0080.00017.28
8.1.60.0060.00317.41
8.1.50.0030.00617.48
8.1.40.0040.00417.34
8.1.30.0040.00417.56
8.1.20.0040.00417.60
8.1.10.0000.00717.40
8.1.00.0080.00017.35
8.0.300.0040.00418.77
8.0.290.0030.00616.75
8.0.280.0030.00318.44
8.0.270.0000.00717.25
8.0.260.0030.00318.45
8.0.250.0000.00716.99
8.0.240.0030.00316.89
8.0.230.0030.00316.83
8.0.220.0000.00816.79
8.0.210.0070.00016.87
8.0.200.0030.00316.95
8.0.190.0000.00716.93
8.0.180.0040.00416.79
8.0.170.0090.00016.79
8.0.160.0040.00416.89
8.0.150.0030.00516.82
8.0.140.0000.00716.85
8.0.130.0030.00313.34
8.0.120.0080.00016.91
8.0.110.0070.00016.89
8.0.100.0000.00716.91
8.0.90.0000.00716.82
8.0.80.0130.00616.93
8.0.70.0050.00316.75
8.0.60.0000.00816.98
8.0.50.0000.00716.72
8.0.30.0040.01517.16
8.0.20.0070.01117.40
8.0.10.0000.00816.89
8.0.00.0120.00816.72
7.4.330.0050.00015.55
7.4.320.0060.00016.55
7.4.300.0000.00716.53
7.4.290.0000.00616.44
7.4.280.0050.00316.40
7.4.270.0000.00716.50
7.4.260.0000.00916.43
7.4.250.0030.00316.49
7.4.240.0070.00016.57
7.4.230.0000.00716.64
7.4.220.0000.00716.52
7.4.210.0030.01416.51
7.4.200.0070.00016.64
7.4.160.0070.00916.56
7.4.140.0110.01017.86
7.4.130.0100.00716.71
7.4.120.0090.00916.48
7.4.110.0110.00816.77
7.4.100.0120.00416.70
7.4.90.0070.01116.48
7.4.80.0090.00619.39
7.4.70.0120.00616.35
7.4.60.0070.01016.64
7.4.50.0040.01116.54
7.4.40.0070.01716.49
7.4.00.0070.01014.91
7.3.330.0000.00613.25
7.3.320.0050.00013.13
7.3.310.0090.00016.20
7.3.300.0030.00316.31
7.3.290.0030.00316.35
7.3.280.0060.01016.32
7.3.260.0100.00816.38
7.3.240.0100.00616.32
7.3.230.0000.01616.60
7.3.210.0160.00616.31
7.3.200.0110.00716.38
7.3.190.0160.00616.50
7.3.180.0110.01116.43
7.3.170.0100.01016.56
7.3.160.0120.00916.45
7.2.330.0110.01116.61
7.2.320.0140.00716.75
7.2.310.0100.00716.44
7.2.300.0000.01616.43
7.2.290.0140.01116.54
7.2.110.0680.01014.53
7.2.100.0540.00714.84
7.2.90.2080.01314.70
7.2.80.0650.01014.84
7.2.70.0680.00915.02
7.2.60.0530.00414.89
7.2.50.0570.00314.67
7.2.40.0470.01615.01
7.2.30.0420.00714.45
7.2.20.0510.01214.63
7.2.10.0430.01314.62
7.2.00.0380.00615.01
7.1.230.0640.00913.73
7.1.220.0860.00613.77
7.1.210.0670.01213.65
7.1.200.0600.00713.67
7.1.190.0530.00613.45
7.1.180.0700.00613.67
7.1.170.0590.00613.78
7.1.160.0490.00413.61
7.1.150.0570.01013.90
7.1.140.0760.00313.71
7.1.130.0580.00313.56
7.1.120.0590.01013.51
7.1.110.0520.00013.58
7.1.100.0360.01113.87
7.1.90.0480.00313.83
7.1.80.0420.01413.79
7.1.70.0310.01713.77
7.1.60.0750.01631.93
7.1.50.0740.01631.57
7.1.40.1110.00332.07
7.1.30.0690.00732.00
7.1.20.0550.01631.93
7.1.10.0530.01013.89
7.1.00.0430.00713.67
5.6.380.0060.00913.92

preferences:
47.33 ms | 400 KiB | 5 Q