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),"\n"; } 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.40.0070.00718.84
8.3.30.0120.00318.84
8.3.20.0050.00220.33
8.3.10.0040.00423.66
8.3.00.0050.00319.26
8.2.170.0090.00622.96
8.2.160.0090.00620.80
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0030.00617.63
8.2.120.0070.00026.35
8.2.110.0080.00022.15
8.2.100.0080.00417.79
8.2.90.0040.00419.06
8.2.80.0090.00017.97
8.2.70.0040.00417.63
8.2.60.0000.00817.93
8.2.50.0000.00918.07
8.2.40.0060.00319.39
8.2.30.0000.00720.62
8.2.20.0030.00517.64
8.2.10.0070.00017.93
8.2.00.0030.00617.96
8.1.270.0080.00023.79
8.1.260.0050.00228.09
8.1.250.0070.00028.09
8.1.240.0060.00322.48
8.1.230.0090.00317.65
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0100.00017.36
8.1.190.0000.00817.23
8.1.180.0070.00018.10
8.1.170.0050.00318.63
8.1.160.0000.00821.94
8.1.150.0000.00718.84
8.1.140.0080.00019.57
8.1.130.0070.00017.59
8.1.120.0000.00817.36
8.1.110.0000.00817.30
8.1.100.0000.00817.41
8.1.90.0050.00217.46
8.1.80.0040.00417.42
8.1.70.0000.00717.34
8.1.60.0070.00017.41
8.1.50.0030.00617.52
8.1.40.0050.00217.42
8.1.30.0030.00517.66
8.1.20.0000.00817.68
8.1.10.0040.00417.58
8.1.00.0080.00417.43
8.0.300.0050.00218.77
8.0.290.0060.00316.75
8.0.280.0000.00718.36
8.0.270.0000.00717.26
8.0.260.0030.00317.19
8.0.250.0000.00716.95
8.0.240.0080.00016.99
8.0.230.0080.00017.00
8.0.220.0000.00716.83
8.0.210.0030.00316.95
8.0.200.0000.00716.89
8.0.190.0040.00417.04
8.0.180.0080.00016.99
8.0.170.0060.00616.88
8.0.160.0030.00316.93
8.0.150.0050.00216.93
8.0.140.0000.00716.95
8.0.130.0060.00013.34
8.0.120.0000.00916.93
8.0.110.0020.00516.85
8.0.100.0000.00716.90
8.0.90.0040.00416.86
8.0.80.0180.00016.86
8.0.70.0000.00816.86
8.0.60.0000.00716.82
8.0.50.0000.00816.98
8.0.30.0030.01217.10
8.0.20.0140.00717.40
8.0.10.0040.00417.01
8.0.00.0090.00816.72
7.4.330.0050.00016.79
7.4.320.0030.00316.53
7.4.300.0000.00616.49
7.4.290.0040.00416.64
7.4.280.0070.00016.58
7.4.270.0070.00016.64
7.4.260.0030.00616.58
7.4.250.0000.00716.36
7.4.240.0040.00316.57
7.4.230.0070.00016.68
7.4.220.0070.01316.60
7.4.210.0070.00916.54
7.4.200.0040.00216.34
7.4.160.0120.00316.33
7.4.150.0090.01517.40
7.4.140.0060.01617.86
7.4.130.0090.01216.48
7.4.120.0110.00616.54
7.4.110.0090.00916.56
7.4.100.0060.01616.61
7.4.90.0110.00716.57
7.4.80.0060.01619.39
7.4.70.0120.00616.64
7.4.60.0090.00616.44
7.4.50.0030.01316.50
7.4.40.0070.00716.54
7.4.30.0120.00916.77
7.4.00.0110.00414.76
7.3.330.0060.00013.19
7.3.320.0060.00013.20
7.3.310.0000.00716.13
7.3.300.0030.00316.25
7.3.290.0000.00716.29
7.3.280.0090.00616.28
7.3.270.0230.00617.40
7.3.260.0100.00716.09
7.3.240.0080.00816.44
7.3.230.0070.01016.39
7.3.210.0100.00616.25
7.3.200.0140.01016.33
7.3.190.0090.00916.35
7.3.180.0060.00916.48
7.3.170.0110.00616.32
7.3.160.0100.01016.24
7.2.330.0090.00916.87
7.2.320.0130.00716.54
7.2.310.0030.01316.67
7.2.300.0110.01116.33
7.2.290.0060.01216.49
7.2.60.0000.01416.29
7.2.00.0050.00519.66
7.1.200.0090.00015.93
7.1.100.0000.01418.09
7.1.70.0070.00017.08
7.1.60.0060.01019.48
7.1.50.0040.01117.08
7.1.00.0070.07322.30
7.0.200.0340.01014.61
7.0.60.0100.07719.96
7.0.50.0030.05717.89
7.0.40.0030.04719.98
7.0.30.0170.05320.00
7.0.20.0230.04720.17
7.0.10.0000.06320.20
7.0.00.0030.04020.33
5.6.280.0070.03320.89
5.6.210.0100.05320.54
5.6.200.0130.07318.22
5.6.190.0000.04720.32
5.6.180.0330.05020.49
5.6.170.0270.06320.52
5.6.160.0000.09320.50
5.6.150.0070.03718.20
5.6.140.0070.06018.10
5.6.130.0030.04018.18
5.6.120.0070.08720.97
5.6.110.0100.07721.13
5.6.100.0130.06321.13
5.6.90.0100.08021.11
5.6.80.0070.07320.48
5.5.350.4130.04020.43
5.5.340.0130.07318.01
5.5.330.0100.04020.19
5.5.320.0070.04720.41
5.5.310.0370.07320.20
5.5.300.0030.06317.88
5.5.290.0030.05717.95
5.5.280.0000.07320.68
5.5.270.0130.06320.75
5.5.260.0100.07720.88
5.5.250.0200.07020.61
5.5.240.0200.05720.25

preferences:
40.72 ms | 400 KiB | 5 Q