3v4l.org

run code in 300+ PHP versions simultaneously
<?php $match = []; set_error_handler (function (){ var_dump("xcxcxcx"); },E_WARNING); 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.70.0150.00718.68
8.3.60.0100.00716.75
8.3.50.0110.00718.29
8.3.40.0040.01118.74
8.3.30.0080.00818.79
8.3.20.0040.00419.20
8.3.10.0080.00020.79
8.3.00.0090.00623.54
8.2.190.0110.00316.63
8.2.180.0040.01516.63
8.2.170.0140.00722.96
8.2.160.0110.00320.52
8.2.150.0040.00424.18
8.2.140.0050.00224.66
8.2.130.0060.00319.77
8.2.120.0070.00026.35
8.2.110.0070.00320.97
8.2.100.0040.00818.22
8.2.90.0070.00319.36
8.2.80.0000.00817.97
8.2.70.0080.00017.93
8.2.60.0000.00818.04
8.2.50.0040.00418.10
8.2.40.0050.00319.29
8.2.30.0040.00419.42
8.2.20.0040.00418.11
8.2.10.0040.00418.12
8.2.00.0040.00419.43
8.1.280.0070.01425.92
8.1.270.0050.00322.20
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00321.36
8.1.230.0040.00817.89
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0060.00317.22
8.1.190.0060.00617.22
8.1.180.0040.00418.10
8.1.170.0090.00018.38
8.1.160.0000.00818.86
8.1.150.0040.00418.89
8.1.140.0000.00717.76
8.1.130.0070.00019.03
8.1.120.0000.00817.44
8.1.110.0000.00817.41
8.1.100.0000.00817.35
8.1.90.0080.00317.53
8.1.80.0040.00417.44
8.1.70.0000.00817.46
8.1.60.0060.00317.51
8.1.50.0050.00317.50
8.1.40.0000.00917.53
8.1.30.0040.00417.57
8.1.20.0040.00417.57
8.1.10.0030.00517.60
8.1.00.0030.00617.49
8.0.300.0080.00418.77
8.0.290.0030.00516.63
8.0.280.0050.00318.29
8.0.270.0000.00717.25
8.0.260.0060.00017.10
8.0.250.0070.00016.85
8.0.240.0000.00716.90
8.0.230.0000.00716.84
8.0.220.0070.00016.91
8.0.210.0000.00816.92
8.0.200.0060.00316.99
8.0.190.0000.00816.92
8.0.180.0030.00617.02
8.0.170.0030.00616.97
8.0.160.0000.00716.82
8.0.150.0000.00716.88
8.0.140.0040.00416.80
8.0.130.0050.00013.38
8.0.120.0040.00416.86
8.0.110.0000.00716.93
8.0.100.0040.00416.80
8.0.90.0040.00416.90
8.0.80.0070.00916.91
8.0.70.0040.00416.86
8.0.60.0000.00716.76
8.0.50.0070.00017.02
8.0.30.0100.01017.10
8.0.20.0120.00717.40
8.0.10.0070.00017.12
8.0.00.0140.00416.77
7.4.330.0000.00515.55
7.4.320.0000.00716.45
7.4.300.0030.00316.52
7.4.290.0000.00716.61
7.4.280.0090.00016.60
7.4.270.0000.00916.55
7.4.260.0030.00316.47
7.4.250.0070.00016.61
7.4.240.0030.00316.49
7.4.230.0030.00316.56
7.4.220.0030.00516.70
7.4.210.0030.01116.68
7.4.200.0000.00716.63
7.4.160.0060.01116.43
7.4.140.0100.01017.86
7.4.130.0090.00916.37
7.4.120.0090.00916.53
7.4.110.0100.01316.53
7.4.100.0150.00616.55
7.4.90.0070.01416.59
7.4.80.0140.01019.39
7.4.70.0080.00816.63
7.4.60.0100.00716.44
7.4.50.0070.00716.54
7.4.40.0160.00616.57
7.4.00.0000.01315.18
7.3.330.0050.00013.28
7.3.320.0060.00013.33
7.3.310.0000.00716.28
7.3.300.0030.00316.27
7.3.290.0030.00316.16
7.3.280.0100.00716.24
7.3.260.0120.00816.44
7.3.240.0080.01216.49
7.3.230.0040.01316.56
7.3.210.0090.00916.55
7.3.200.0160.00716.62
7.3.190.0110.00716.35
7.3.180.0030.01416.30
7.3.170.0060.01316.38
7.3.160.0070.01016.38
7.3.10.0050.00516.60
7.3.00.0070.00716.56
7.2.330.0060.01216.57
7.2.320.0170.00716.55
7.2.310.0160.00916.45
7.2.300.0130.00316.57
7.2.290.0030.01716.43
7.2.130.0110.00616.30
7.2.120.0100.00616.64
7.2.110.0060.01116.53
7.2.100.0080.00516.54
7.2.90.0090.00916.61
7.2.80.0130.00616.71
7.2.70.0110.00516.74
7.2.60.0090.01016.53
7.2.50.0080.00916.77
7.2.40.0110.00616.70
7.2.30.0070.00816.73
7.2.20.0070.00916.81
7.2.10.0080.00716.62
7.2.00.0080.00816.69
7.1.250.0030.00915.45
7.1.200.0120.00315.72
7.1.170.0060.00615.52
7.1.160.0070.00615.41
7.1.150.0040.00815.66
7.1.140.0040.00815.57
7.1.130.0080.00415.46
7.1.120.0100.00215.55
7.1.110.0030.00915.84
7.1.100.0060.00615.43
7.1.90.0090.00915.82
7.1.80.0030.00915.67
7.1.70.0030.01415.62
7.1.60.0280.00633.54
7.1.50.0200.01433.70
7.1.40.0260.00933.51
7.1.30.0300.01733.34
7.1.20.0190.01333.30
7.1.10.0030.01015.70
7.1.00.0090.00915.54

preferences:
29.73 ms | 401 KiB | 5 Q