3v4l.org

run code in 300+ PHP versions simultaneously
<?php $match = []; set_error_handler (function (){ var_dump("xcxcxcx"); },E_ALL); 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.0080.01216.75
8.3.50.0090.00918.22
8.3.40.0150.00018.76
8.3.30.0060.00918.85
8.3.20.0080.00019.00
8.3.10.0000.00820.85
8.3.00.0110.00423.52
8.2.180.0070.01116.88
8.2.170.0110.00422.96
8.2.160.0100.00320.38
8.2.150.0050.00324.18
8.2.140.0000.00724.66
8.2.130.0050.00319.70
8.2.120.0050.00226.35
8.2.110.0030.01420.17
8.2.100.0040.00818.03
8.2.90.0090.00018.15
8.2.80.0050.00517.97
8.2.70.0080.00017.93
8.2.60.0040.00418.05
8.2.50.0030.00618.10
8.2.40.0020.00519.36
8.2.30.0080.00019.38
8.2.20.0000.00718.03
8.2.10.0000.00819.78
8.2.00.0040.00419.51
8.1.280.0140.00725.92
8.1.270.0000.00821.98
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0090.00022.46
8.1.230.0040.00722.86
8.1.220.0030.00517.74
8.1.210.0000.00818.87
8.1.200.0030.00617.35
8.1.190.0060.00317.22
8.1.180.0040.00418.10
8.1.170.0050.00318.59
8.1.160.0040.00418.81
8.1.150.0000.00718.89
8.1.140.0040.00417.66
8.1.130.0070.00018.93
8.1.120.0000.00717.49
8.1.110.0000.00717.39
8.1.100.0000.00917.45
8.1.90.0000.00917.44
8.1.80.0070.00017.37
8.1.70.0040.00717.43
8.1.60.0080.00017.50
8.1.50.0060.00317.41
8.1.40.0080.00017.55
8.1.30.0070.00317.68
8.1.20.0050.00217.55
8.1.10.0050.00317.62
8.1.00.0050.00317.55
8.0.300.0070.00019.85
8.0.290.0040.00416.63
8.0.280.0030.00318.30
8.0.270.0030.00317.20
8.0.260.0000.00717.20
8.0.250.0030.00316.85
8.0.240.0000.00716.94
8.0.230.0000.00716.88
8.0.220.0000.00716.89
8.0.210.0040.00416.85
8.0.200.0030.00316.90
8.0.190.0040.00417.05
8.0.180.0040.00416.93
8.0.170.0000.00916.85
8.0.160.0030.00516.99
8.0.150.0030.00316.85
8.0.140.0050.00316.95
8.0.130.0000.00613.38
8.0.120.0070.00016.82
8.0.110.0020.00516.79
8.0.100.0000.00816.91
8.0.90.0040.00416.98
8.0.80.0070.01217.00
8.0.70.0030.00517.02
8.0.60.0030.00516.78
8.0.50.0040.00417.01
8.0.30.0100.01116.99
8.0.20.0120.00817.40
8.0.10.0000.00816.99
8.0.00.0160.01616.68
7.4.330.0000.00515.55
7.4.320.0030.00316.52
7.4.300.0000.00616.56
7.4.290.0000.00716.50
7.4.280.0000.01016.50
7.4.270.0030.00616.43
7.4.260.0030.00316.49
7.4.250.0000.00716.55
7.4.240.0050.00316.69
7.4.230.0030.00316.62
7.4.220.0050.00316.61
7.4.210.0120.00716.62
7.4.200.0030.00516.60
7.4.160.0130.00216.49
7.4.140.0090.01217.86
7.4.130.0110.00516.44
7.4.120.0110.00816.55
7.4.110.0080.00916.59
7.4.100.0080.00816.77
7.4.90.0070.01616.50
7.4.80.0200.00319.39
7.4.70.0100.00616.46
7.4.60.0140.00416.47
7.4.50.0070.00716.53
7.4.40.0060.01616.61
7.4.10.0060.01214.72
7.4.00.0110.00615.05
7.3.330.0050.00013.23
7.3.320.0000.00613.18
7.3.310.0040.00416.46
7.3.300.0030.00316.38
7.3.290.0030.00316.30
7.3.280.0070.00916.30
7.3.260.0090.00916.31
7.3.240.0070.01016.34
7.3.230.0100.00716.33
7.3.210.0120.00916.36
7.3.200.0140.00416.40
7.3.190.0030.01316.41
7.3.180.0110.00416.33
7.3.170.0190.00316.52
7.3.160.0110.00716.53
7.3.130.0130.00614.89
7.3.120.0030.01314.79
7.3.110.0120.00414.82
7.3.100.0030.01214.70
7.3.90.0100.00714.91
7.3.80.0000.01014.93
7.3.70.0040.01114.65
7.3.60.0060.00614.67
7.3.50.0060.00914.84
7.3.40.0080.00614.61
7.3.30.0030.01314.80
7.3.20.0110.00316.72
7.3.10.0070.00516.49
7.3.00.0100.00516.56
7.2.330.0110.00716.59
7.2.320.0100.01016.38
7.2.310.0070.01516.50
7.2.300.0090.00916.50
7.2.290.0090.01516.59
7.2.260.0040.01214.97
7.2.250.0100.00715.08
7.2.240.0070.00714.69
7.2.230.0000.01914.88
7.2.220.0080.01114.74
7.2.210.0080.00815.09
7.2.200.0110.00414.75
7.2.190.0040.00715.02
7.2.180.0090.00614.95
7.2.170.0000.00914.97
7.2.160.0070.00714.97
7.2.150.0040.01416.89
7.2.140.0040.00717.00
7.2.130.0020.01316.70
7.2.120.0040.00716.84
7.2.110.0070.00516.88
7.2.100.0060.00816.68
7.2.90.0050.01016.88
7.2.80.0030.01016.80
7.2.70.0080.00516.77
7.2.60.0110.00516.93
7.2.50.0070.01116.85
7.2.40.0040.01116.81
7.2.30.0100.00516.82
7.2.20.0060.00916.72
7.2.10.0040.00916.76
7.2.00.0070.00516.84
7.1.330.0060.00615.55
7.1.320.0060.00915.43
7.1.310.0040.01215.65
7.1.300.0090.00915.75
7.1.290.0060.00615.46
7.1.280.0040.00715.51
7.1.270.0120.00315.88
7.1.260.0090.00615.72
7.1.250.0030.00915.82
7.1.240.0040.01215.41
7.1.230.0040.01115.89
7.1.220.0060.00915.69
7.1.210.0050.00315.54
7.1.200.0020.01015.79
7.1.190.0000.01215.85
7.1.180.0030.01015.81
7.1.170.0110.00215.64
7.1.160.0030.00915.63
7.1.150.0090.00515.79
7.1.140.0100.00515.57
7.1.130.0050.00715.79
7.1.120.0060.00815.70
7.1.110.0040.01215.69
7.1.100.0020.01115.61
7.1.90.0020.01015.76
7.1.80.0060.00415.51
7.1.70.0030.00715.82
7.1.60.0110.01124.77
7.1.50.0100.01224.72
7.1.40.0120.00924.77
7.1.30.0110.01124.75
7.1.20.0140.00824.77
7.1.10.0060.00615.65
7.1.00.0080.00715.66
7.0.330.0040.01415.35
7.0.320.0080.00415.33
7.0.310.0060.00615.38
7.0.300.0090.00215.26
7.0.290.0000.01415.41
7.0.280.0000.01215.35
7.0.270.0040.00415.02
7.0.260.0030.00515.26
7.0.250.0070.00715.28
7.0.240.0060.01015.46
7.0.230.0030.00915.52
7.0.220.0070.00715.28
7.0.210.0040.00415.46
7.0.200.0060.00615.25
7.0.190.0070.00715.22
7.0.180.0070.00715.25
7.0.170.0070.00315.48
7.0.160.0060.00315.43
7.0.150.0000.01415.16
7.0.140.0030.01315.30
7.0.130.0060.00315.31
7.0.120.0040.00815.40
7.0.110.0110.00315.50
7.0.100.0070.00715.32
7.0.90.0070.00715.45
7.0.80.0000.01315.21
7.0.70.0070.00315.29
7.0.60.0030.00915.38
7.0.50.0030.00915.49
7.0.40.0070.00713.38
7.0.30.0070.00713.14
7.0.20.0100.00313.41
7.0.10.0110.00313.46
7.0.00.0000.01413.45
5.6.400.0130.00013.92
5.6.390.0060.00914.37
5.6.380.0040.00814.29
5.6.370.0030.00614.14
5.6.360.0120.00314.25
5.6.350.0040.00714.02
5.6.340.0090.00614.56
5.6.330.0040.00713.93
5.6.320.0030.01314.47
5.6.310.0030.00914.23
5.6.300.0040.00814.32
5.6.290.0060.01214.23
5.6.280.0060.00314.14
5.6.270.0060.00914.35
5.6.260.0080.00314.45
5.6.250.0000.01714.29
5.6.240.0000.01214.29
5.6.230.0060.00614.41
5.6.220.0070.01014.38
5.6.210.0120.00314.19
5.6.200.0070.01114.29
5.6.190.0040.00814.32
5.6.180.0030.01014.34
5.6.170.0030.01214.14
5.6.160.0000.00814.37
5.6.150.0120.00014.51
5.6.140.0070.00714.56
5.6.130.0080.00414.39
5.6.120.0000.00914.57
5.6.110.0050.00514.29
5.6.100.0070.00714.15
5.6.90.0030.00914.60
5.6.80.0070.00714.35
5.6.70.0130.00314.38
5.6.60.0030.00614.02
5.6.50.0040.01114.11
5.6.40.0040.00814.47
5.6.30.0070.00313.93
5.6.20.0040.01114.06
5.6.10.0120.00314.29
5.6.00.0060.00914.21

preferences:
53.83 ms | 401 KiB | 5 Q