3v4l.org

run code in 300+ PHP versions simultaneously
<?php $match = []; set_error_handler (function (){ var_dump("qwqew"); },E_NOTICE); try { $match[1]; } catch (\Exception $e) { echo 'Exception:' . $e->getMessage(); }

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.00616.63
8.3.50.0180.00018.11
8.3.40.0040.01118.69
8.3.30.0040.01118.63
8.3.20.0060.00319.20
8.3.10.0050.00321.13
8.3.00.0140.00423.68
8.2.180.0140.00716.50
8.2.170.0110.00422.96
8.2.160.0100.00320.50
8.2.150.0050.00324.18
8.2.140.0050.00224.66
8.2.130.0040.00419.88
8.2.120.0000.00726.35
8.2.110.0060.00321.04
8.2.100.0080.00418.03
8.2.90.0000.00819.32
8.2.80.0030.00719.48
8.2.70.0040.00417.93
8.2.60.0080.00018.03
8.2.50.0050.00318.10
8.2.40.0000.00819.37
8.2.30.0040.00419.50
8.2.20.0000.00818.17
8.2.10.0040.00417.93
8.2.00.0000.00719.54
8.1.280.0170.00325.92
8.1.270.0040.00422.10
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0000.00919.13
8.1.230.0110.00017.71
8.1.220.0000.00817.79
8.1.210.0030.00618.77
8.1.200.0060.00317.35
8.1.190.0000.00917.10
8.1.180.0000.00818.10
8.1.170.0060.00318.57
8.1.160.0040.00418.87
8.1.150.0000.01018.79
8.1.140.0000.00717.68
8.1.130.0050.00318.99
8.1.120.0070.00017.34
8.1.110.0040.00417.37
8.1.100.0040.00417.36
8.1.90.0000.00917.43
8.1.80.0000.00817.41
8.1.70.0060.00317.32
8.1.60.0040.00417.53
8.1.50.0030.00517.34
8.1.40.0000.00717.54
8.1.30.0100.00017.51
8.1.20.0000.00717.67
8.1.10.0050.00317.59
8.1.00.0000.00817.55
8.0.300.0040.00418.77
8.0.290.0030.00616.75
8.0.280.0030.00318.37
8.0.270.0070.00017.20
8.0.260.0050.00318.38
8.0.250.0040.00416.88
8.0.240.0000.00716.93
8.0.230.0070.00017.04
8.0.220.0040.00416.76
8.0.210.0030.00316.88
8.0.200.0000.00616.96
8.0.190.0000.00817.00
8.0.180.0070.00016.88
8.0.170.0090.00016.87
8.0.160.0000.00716.98
8.0.150.0000.00716.91
8.0.140.0040.00416.82
8.0.130.0050.00013.38
8.0.120.0050.00216.83
8.0.110.0000.00717.00
8.0.100.0040.00416.84
8.0.90.0080.00016.98
8.0.80.0050.01116.96
8.0.70.0040.00416.95
8.0.60.0050.00217.02
8.0.50.0000.00816.93
8.0.30.0090.01017.13
8.0.20.0070.01317.40
8.0.10.0050.00216.89
8.0.00.0090.01216.81
7.4.330.0050.00015.55
7.4.320.0060.00016.53
7.4.300.0030.00316.49
7.4.290.0050.00316.61
7.4.280.0100.00016.59
7.4.270.0040.00416.41
7.4.260.0000.00716.38
7.4.250.0040.00416.38
7.4.240.0020.00516.63
7.4.230.0000.00716.31
7.4.220.0040.00416.54
7.4.210.0140.00316.60
7.4.200.0000.00716.63
7.4.160.0070.00816.54
7.4.140.0090.01317.86
7.4.130.0100.00716.52
7.4.120.0120.00916.51
7.4.110.0200.00316.52
7.4.100.0040.01216.44
7.4.90.0050.01716.50
7.4.80.0080.01119.39
7.4.70.0100.01016.63
7.4.60.0130.00316.54
7.4.50.0080.00816.56
7.4.40.0100.01216.48
7.4.00.0020.01514.91
7.3.330.0020.00213.20
7.3.320.0030.00313.32
7.3.310.0070.00016.18
7.3.300.0000.00716.36
7.3.290.0030.00316.27
7.3.280.0060.01116.37
7.3.260.0070.01016.48
7.3.240.0110.00716.46
7.3.230.0100.00716.35
7.3.210.0060.01016.35
7.3.200.0140.00316.47
7.3.190.0060.01216.36
7.3.180.0070.01016.41
7.3.170.0110.00716.46
7.3.160.0060.01016.40
7.3.120.0040.01214.46
7.3.110.0100.00314.84
7.3.100.0070.01014.99
7.3.90.0000.01314.88
7.3.80.0030.00614.95
7.3.70.0110.00414.86
7.3.60.0080.00814.77
7.3.50.0000.00914.56
7.3.40.0030.00714.80
7.3.30.0000.01114.38
7.3.20.0060.00616.63
7.3.10.0090.00616.65
7.3.00.0090.00316.40
7.2.330.0110.01216.36
7.2.320.0070.01016.46
7.2.310.0060.01516.57
7.2.300.0120.00616.47
7.2.290.0120.00616.63
7.2.250.0000.02115.16
7.2.240.0140.00715.00
7.2.230.0000.01114.82
7.2.220.0070.00715.09
7.2.210.0090.00014.86
7.2.200.0030.01015.00
7.2.190.0060.01014.90
7.2.180.0120.00314.66
7.2.170.0060.00914.61
7.2.60.0000.01616.51
7.2.50.0140.00316.65
7.2.40.0090.01216.69
7.2.30.0030.01016.77
7.2.20.0000.01416.84
7.2.10.0030.01216.79
7.2.00.0040.01116.73
7.1.330.0100.00715.97
7.1.320.0040.01115.84
7.1.310.0080.00415.65
7.1.300.0070.01015.82
7.1.290.0110.00315.54
7.1.280.0090.00615.79
7.1.270.0100.00615.82
7.1.260.0090.00615.91
7.1.200.0030.01015.56
7.1.170.0070.00615.57
7.1.160.0110.00415.49
7.1.150.0040.01215.66
7.1.140.0100.00315.78
7.1.130.0130.00315.78
7.1.120.0060.00715.73
7.1.110.0120.00015.51
7.1.100.0100.00315.78
7.1.90.0100.00315.54
7.1.80.0040.00815.32
7.1.70.0070.01015.65
7.1.60.0290.00333.78
7.1.50.0250.00633.58
7.1.40.0210.01233.48
7.1.30.0230.01033.67
7.1.20.0200.01333.49
7.1.10.0140.00015.51
7.1.00.0060.00615.70

preferences:
59.49 ms | 401 KiB | 5 Q