3v4l.org

run code in 300+ PHP versions simultaneously
<?php function handler($e){ echo $e->getMessage(); } class AcessDeniedException extends Exception{ public function __construct(){ parent::__construct(); echo 'This is my exception'; } } set_exception_handler (handler); if(false){ throw new AcessDeniedException('Access DENIED!!!!!' , 1); }

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.0120.00316.75
8.3.50.0150.00422.05
8.3.40.0030.01018.97
8.3.30.0150.00018.84
8.3.20.0000.00920.14
8.3.10.0090.00020.70
8.3.00.0040.00423.53
8.2.180.0060.01318.54
8.2.170.0110.00422.96
8.2.160.0090.00622.08
8.2.150.0000.00725.66
8.2.140.0040.00424.66
8.2.130.0050.00320.75
8.2.120.0040.00426.35
8.2.110.0090.00021.03
8.2.100.0090.00317.93
8.2.90.0000.00819.25
8.2.80.0050.00317.97
8.2.70.0060.00317.63
8.2.60.0040.00418.00
8.2.50.0050.00318.09
8.2.40.0040.00422.09
8.2.30.0000.00819.42
8.2.20.0070.00017.76
8.2.10.0050.00218.02
8.2.00.0030.00317.97
8.1.280.0040.01125.92
8.1.270.0040.00422.14
8.1.260.0000.00728.09
8.1.250.0050.00328.09
8.1.240.0000.01020.61
8.1.230.0110.00017.76
8.1.220.0040.00417.79
8.1.210.0000.00818.77
8.1.200.0030.00617.13
8.1.190.0030.00516.98
8.1.180.0050.00318.10
8.1.170.0050.00318.50
8.1.160.0070.00020.63
8.1.150.0050.00220.56
8.1.140.0000.00819.41
8.1.130.0030.00317.57
8.1.120.0000.00717.45
8.1.110.0030.00517.40
8.1.100.0000.00717.34
8.1.90.0060.00317.44
8.1.80.0030.00317.31
8.1.70.0070.00017.39
8.1.60.0050.00217.48
8.1.50.0060.00317.46
8.1.40.0000.00817.52
8.1.30.0000.00817.59
8.1.20.0000.00717.42
8.1.10.0050.00317.48
8.1.00.0040.00417.34
8.0.300.0040.00418.77
8.0.290.0030.00616.58
8.0.280.0000.00718.37
8.0.270.0080.00017.18
8.0.260.0030.00317.18
8.0.250.0040.00417.03
8.0.240.0000.00817.02
8.0.230.0030.00416.93
8.0.220.0070.00016.87
8.0.210.0050.00216.98
8.0.200.0030.00316.90
8.0.190.0000.00717.03
8.0.180.0040.00416.93
8.0.170.0080.00016.86
8.0.160.0040.00416.85
8.0.150.0090.00016.83
8.0.140.0040.00416.93
8.0.130.0000.00713.36
8.0.120.0040.00416.89
8.0.110.0040.00416.94
8.0.100.0000.00817.07
8.0.90.0030.00516.99
8.0.80.0030.01416.93
8.0.70.0050.00316.92
8.0.60.0000.00716.91
8.0.50.0000.00716.95
8.0.30.0110.00717.07
8.0.20.0110.01117.40
8.0.10.0040.00416.86
8.0.00.0120.00716.77
7.4.330.0000.00516.89
7.4.320.0060.00016.44
7.4.300.0030.00316.47
7.4.290.0000.00716.36
7.4.280.0030.00616.54
7.4.270.0070.00016.59
7.4.260.0030.00316.39
7.4.250.0040.00416.55
7.4.240.0000.00916.40
7.4.230.0030.00316.54
7.4.220.0070.01316.57
7.4.210.0150.00116.44
7.4.200.0000.00716.53
7.4.160.0000.01716.30
7.4.150.0070.01017.40
7.4.140.0070.01217.86
7.4.130.0100.00616.41
7.4.120.0100.00816.59
7.4.110.0090.00916.55
7.4.100.0080.00816.56
7.4.90.0090.01316.48
7.4.80.0110.00519.39
7.4.70.0080.00816.60
7.4.60.0100.01016.61
7.4.50.0130.00316.22
7.4.40.0060.01016.51
7.4.30.0060.01216.54
7.4.00.0100.00314.80
7.3.330.0030.00313.06
7.3.320.0000.00613.24
7.3.310.0070.00016.23
7.3.300.0070.00016.20
7.3.290.0030.00316.25
7.3.280.0110.00716.25
7.3.270.0070.01517.40
7.3.260.0120.01216.38
7.3.250.0120.00716.42
7.3.240.0140.00716.29
7.3.230.0090.00916.39
7.3.210.0100.00716.18
7.3.200.0060.01216.13
7.3.190.0060.00916.34
7.3.180.0060.00916.28
7.3.170.0150.00316.23
7.3.160.0030.01216.28
7.3.10.0080.00816.65
7.3.00.0060.01016.54
7.2.330.0070.01016.52
7.2.320.0100.01316.45
7.2.310.0160.00616.57
7.2.300.0090.00916.34
7.2.290.0070.01116.37
7.2.130.0070.00716.84
7.2.120.0000.01116.75
7.2.110.0040.01116.72
7.2.100.0000.01016.70
7.2.90.0000.01116.38
7.2.80.0030.01016.69
7.2.70.0080.00416.72
7.2.60.0100.00516.75
7.2.50.0090.00616.61
7.2.40.0060.01016.71
7.2.30.0080.00416.80
7.2.20.0060.01016.75
7.2.10.0060.01016.55
7.2.00.0030.01018.07
7.1.250.0060.00615.48
7.1.200.0070.00415.65
7.1.100.0080.00317.89
7.1.70.0030.01217.19
7.1.60.0090.00619.40
7.1.50.0040.01816.89
7.1.00.0070.07322.42
7.0.200.0510.00314.50
7.0.60.0470.07020.04
7.0.50.0100.05317.85
7.0.40.0030.09320.09
7.0.30.0200.04020.12
7.0.20.0230.05020.10
7.0.10.0000.05320.26
7.0.00.0070.06020.33
5.6.210.0170.06020.48
5.6.200.0070.06718.22
5.6.190.0130.07020.61
5.6.180.0270.08320.57
5.6.170.0270.05020.50
5.6.160.0030.05020.50
5.6.150.0100.07718.28
5.6.140.0000.04718.19
5.6.130.0030.08318.23
5.6.120.0170.03021.12
5.6.110.0270.05321.12
5.6.100.0100.08720.99
5.6.90.0070.08320.96
5.6.80.0030.08720.38
5.5.350.0100.06720.30
5.5.340.0100.07717.98
5.5.330.0070.07020.19
5.5.320.0670.07020.38
5.5.310.0130.05720.31
5.5.300.0130.06018.01
5.5.290.0030.04717.95
5.5.280.0030.09020.88
5.5.270.0100.07720.85
5.5.260.0100.07320.97
5.5.250.0030.08720.59
5.5.240.0170.03020.38

preferences:
58.22 ms | 401 KiB | 5 Q