3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { echo 10/0; } catch (Error $e) { echo "Just now caught error: {$e->getMessage()}\n"; } try { echo intdiv(10,0); } catch (Error $e) { echo "Just now caught error: {$e->getMessage()}\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.60.0110.00716.63
8.3.50.0070.01521.27
8.3.40.0110.00418.84
8.3.30.0100.00618.96
8.3.20.0000.00720.15
8.3.10.0040.00423.48
8.3.00.0030.00619.38
8.2.180.0150.00616.75
8.2.170.0090.00622.96
8.2.160.0110.00421.11
8.2.150.0080.00024.18
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0030.00618.71
8.2.110.0180.00020.47
8.2.100.0060.00618.05
8.2.90.0040.00419.22
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0000.00817.79
8.2.50.0000.00818.07
8.2.40.0080.00019.39
8.2.30.0040.00420.53
8.2.20.0030.00617.66
8.2.10.0040.00418.11
8.2.00.0000.00718.06
8.1.280.0060.01025.92
8.1.270.0080.00423.96
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00322.53
8.1.230.0060.00617.66
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0090.00017.25
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0040.00418.54
8.1.160.0030.00321.94
8.1.150.0040.00418.69
8.1.140.0000.00819.43
8.1.130.0000.00717.70
8.1.120.0040.00417.42
8.1.110.0000.00717.31
8.1.100.0050.00217.29
8.1.90.0030.00417.39
8.1.80.0000.00717.39
8.1.70.0030.00317.26
8.1.60.0050.00217.56
8.1.50.0030.00617.53
8.1.40.0040.00417.54
8.1.30.0030.00517.54
8.1.20.0000.00717.57
8.1.10.0060.00317.55
8.1.00.0090.00317.41
8.0.300.0040.00418.77
8.0.290.0050.00216.63
8.0.280.0070.00018.31
8.0.270.0000.00717.25
8.0.260.0060.00017.16
8.0.250.0030.00317.00
8.0.240.0040.00417.05
8.0.230.0060.00317.00
8.0.220.0070.00016.92
8.0.210.0030.00516.93
8.0.200.0040.00416.88
8.0.190.0040.00416.98
8.0.180.0050.00317.03
8.0.170.0040.00716.84
8.0.160.0000.00817.02
8.0.150.0030.00516.93
8.0.140.0070.00016.89
8.0.130.0090.00013.42
8.0.120.0000.00716.89
8.0.110.0000.00816.96
8.0.100.0000.00716.93
8.0.90.0000.00817.05
8.0.80.0060.01216.94
8.0.70.0040.00416.75
8.0.60.0040.00416.80
8.0.50.0040.00417.06
8.0.30.0120.00717.17
8.0.20.0100.00817.40
8.0.10.0070.00017.05
8.0.00.0080.00916.75
7.4.330.0050.00016.67
7.4.320.0000.00616.55
7.4.300.0040.00416.40
7.4.290.0030.00316.41
7.4.280.0050.00316.53
7.4.270.0080.00016.48
7.4.260.0070.00016.62
7.4.250.0040.00416.57
7.4.240.0040.00416.50
7.4.230.0030.00316.50
7.4.220.0130.01716.63
7.4.210.0040.01116.50
7.4.200.0030.00316.55
7.4.160.0130.00316.57
7.4.150.0150.00317.40
7.4.140.0150.00517.86
7.4.130.0150.00416.53
7.4.120.0110.00916.56
7.4.110.0170.00016.50
7.4.100.0140.00416.56
7.4.90.0080.00816.48
7.4.80.0100.00719.39
7.4.70.0150.00616.57
7.4.60.0060.00916.37
7.4.50.0040.01116.54
7.4.40.0110.00716.63
7.4.30.0070.01016.45
7.4.00.0110.00415.07
7.3.330.0020.00213.24
7.3.320.0000.00513.08
7.3.310.0040.00316.19
7.3.300.0000.00616.25
7.3.290.0040.00416.30
7.3.280.0090.01016.25
7.3.270.0080.01517.40
7.3.260.0110.00516.19
7.3.250.0120.00716.35
7.3.240.0110.00916.26
7.3.230.0160.00016.46
7.3.210.0090.01316.29
7.3.200.0110.00716.38
7.3.190.0150.00716.25
7.3.180.0070.01016.46
7.3.170.0090.00816.27
7.3.160.0190.00316.46
7.2.330.0080.00816.32
7.2.320.0140.00316.66
7.2.310.0070.01416.64
7.2.300.0110.00716.36
7.2.290.0090.01316.74
7.2.60.0090.00617.04
7.1.200.0000.01415.73
7.1.100.0040.00818.31
7.1.70.0040.00416.93
7.1.60.0110.00019.48
7.1.50.0080.00316.88
7.1.00.0100.07022.57
7.0.200.0170.00714.73
7.0.60.0100.08019.91
7.0.50.0130.08017.79
7.0.40.0100.05720.09
7.0.30.0200.04320.17
7.0.20.0100.05020.01
7.0.10.0100.03720.20
7.0.00.0030.06720.04
5.6.280.0000.03320.90
5.6.210.0070.05720.50
5.6.200.0100.07718.13
5.6.190.0030.06020.58
5.6.180.0430.06320.56
5.6.170.0370.06020.50
5.6.160.0000.04320.50
5.6.150.0070.04318.15
5.6.140.0070.03718.15
5.6.130.0030.08318.16
5.6.120.0200.07020.98
5.6.110.0000.08721.04
5.6.100.0130.05020.88
5.6.90.0130.07720.96
5.6.80.0200.06720.50
5.5.350.4200.04320.32
5.5.340.0070.08017.98
5.5.330.0070.06320.20
5.5.320.0000.05020.28
5.5.310.0230.05720.20
5.5.300.0030.04318.00
5.5.290.0170.07318.01
5.5.280.0100.08320.96
5.5.270.0130.07020.95
5.5.260.0130.04020.88
5.5.250.0100.06320.46
5.5.240.0230.07020.36

preferences:
55.61 ms | 401 KiB | 5 Q