3v4l.org

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

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.0210.00016.63
8.3.50.0150.00317.96
8.3.40.0030.01218.56
8.3.30.0110.00418.67
8.3.20.0080.00019.02
8.3.10.0080.00021.09
8.3.00.0110.00723.36
8.2.180.0070.01116.50
8.2.170.0130.00922.96
8.2.160.0070.00720.39
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0040.00419.70
8.2.120.0080.00026.35
8.2.110.0030.00620.97
8.2.100.0120.00017.91
8.2.90.0000.00819.29
8.2.80.0090.00319.00
8.2.70.0050.00417.93
8.2.60.0000.00818.03
8.2.50.0050.00318.10
8.2.40.0000.00819.47
8.2.30.0000.00719.41
8.2.20.0000.00718.03
8.2.10.0040.00418.05
8.2.00.0070.00019.43
8.1.280.0110.00425.92
8.1.270.0000.00722.16
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0060.00319.28
8.1.230.0100.00617.72
8.1.220.0050.00317.74
8.1.210.0090.00018.77
8.1.200.0040.00417.23
8.1.190.0030.00617.25
8.1.180.0030.00618.10
8.1.170.0050.00518.44
8.1.160.0020.00518.82
8.1.150.0040.00418.84
8.1.140.0050.00217.69
8.1.130.0030.00318.94
8.1.120.0070.00017.43
8.1.110.0040.00417.30
8.1.100.0040.00417.45
8.1.90.0030.00617.42
8.1.80.0070.00017.48
8.1.70.0000.01117.39
8.1.60.0030.00617.62
8.1.50.0050.00317.48
8.1.40.0050.00317.42
8.1.30.0090.00317.64
8.1.20.0000.00717.69
8.1.10.0030.00617.43
8.1.00.0050.00317.51
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.38
8.0.270.0070.00017.23
8.0.260.0030.00317.11
8.0.250.0080.00016.85
8.0.240.0000.00716.90
8.0.230.0000.00717.02
8.0.220.0030.00316.93
8.0.210.0030.00316.85
8.0.200.0000.00617.06
8.0.190.0000.00917.05
8.0.180.0000.00816.86
8.0.170.0040.00416.99
8.0.160.0000.00716.95
8.0.150.0030.00316.85
8.0.140.0070.00016.95
8.0.130.0030.00313.34
8.0.120.0000.00816.78
8.0.110.0000.00816.93
8.0.100.0020.00516.80
8.0.90.0000.00716.93
8.0.80.0050.01516.92
8.0.70.0020.00516.74
8.0.60.0040.00416.90
8.0.50.0070.00016.84
8.0.30.0110.00916.99
8.0.20.0060.01117.40
8.0.10.0000.00717.05
8.0.00.0080.01316.84
7.4.330.0020.00215.55
7.4.320.0030.00316.61
7.4.300.0000.00716.55
7.4.290.0070.00016.60
7.4.280.0030.00716.57
7.4.270.0050.00516.65
7.4.260.0000.00716.59
7.4.250.0040.00416.56
7.4.240.0000.00716.53
7.4.230.0070.00016.39
7.4.220.0070.00016.61
7.4.210.0080.01016.64
7.4.200.0070.00016.50
7.4.160.0060.01016.57
7.4.140.0120.01217.86
7.4.130.0060.01116.64
7.4.120.0100.01016.49
7.4.110.0090.00916.70
7.4.100.0130.00316.47
7.4.90.0060.01116.63
7.4.80.0060.01319.39
7.4.70.0130.00816.50
7.4.60.0130.00316.36
7.4.50.0040.00716.73
7.4.40.0100.00716.45
7.4.00.0050.01314.85
7.3.330.0050.00013.38
7.3.320.0030.00313.33
7.3.310.0000.00616.35
7.3.300.0070.00016.24
7.3.290.0070.00016.31
7.3.280.0020.01316.28
7.3.260.0100.00916.45
7.3.240.0080.01116.40
7.3.230.0070.01116.55
7.3.210.0070.01016.44
7.3.200.0080.00816.44
7.3.190.0090.00916.64
7.3.180.0130.01016.14
7.3.170.0070.01116.31
7.3.160.0090.00916.47
7.3.120.0120.00614.68
7.3.110.0040.01415.04
7.3.100.0070.01014.85
7.3.90.0000.01414.78
7.3.80.0090.00014.61
7.3.70.0110.00414.48
7.3.60.0030.00614.84
7.3.50.0060.00814.57
7.3.40.0070.00414.64
7.3.30.0060.00314.94
7.3.20.0030.00616.78
7.3.10.0070.00416.52
7.3.00.0070.00716.65
7.2.330.0130.01016.49
7.2.320.0090.00916.59
7.2.310.0180.01116.50
7.2.300.0060.01216.25
7.2.290.0140.00716.36
7.2.250.0030.01414.82
7.2.240.0060.01515.13
7.2.230.0070.00715.18
7.2.220.0070.00715.00
7.2.210.0060.00614.78
7.2.200.0150.00015.08
7.2.190.0130.00314.61
7.2.180.0030.01414.96
7.2.170.0070.00414.73
7.2.60.0100.00316.79
7.2.50.0090.00316.79
7.2.40.0070.00716.77
7.2.30.0130.00316.77
7.2.20.0090.00616.81
7.2.10.0060.00916.64
7.2.00.0030.01016.74
7.1.330.0030.01015.58
7.1.320.0030.01015.57
7.1.310.0000.01515.62
7.1.300.0000.01315.84
7.1.290.0030.00615.81
7.1.280.0130.00315.75
7.1.270.0130.00015.84
7.1.260.0030.01015.75
7.1.200.0100.00315.65
7.1.170.0090.00315.54
7.1.160.0130.00015.64
7.1.150.0030.00915.59
7.1.140.0060.00715.52
7.1.130.0060.00615.73
7.1.120.0060.00615.67
7.1.110.0080.00415.45
7.1.100.0030.00915.66
7.1.90.0070.00615.48
7.1.80.0000.01315.65
7.1.70.0030.01315.53
7.1.60.0270.00733.44
7.1.50.0160.01833.54
7.1.40.0180.01433.53
7.1.30.0330.00333.68
7.1.20.0360.00333.49
7.1.10.0050.00815.30
7.1.00.0090.00315.68

preferences:
43.12 ms | 401 KiB | 5 Q