3v4l.org

run code in 300+ PHP versions simultaneously
<?php $match = []; set_error_handler (function (){ var_dump("qwqew"); },E_NOTICE); set_error_handler (function (){ var_dump("xcxcxcx"); },E_WARNING); 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.0060.01218.55
8.3.50.0110.00418.02
8.3.40.0060.00918.90
8.3.30.0040.01118.60
8.3.20.0040.00418.98
8.3.10.0040.00419.21
8.3.00.0070.00723.61
8.2.180.0150.00018.41
8.2.170.0070.00722.96
8.2.160.0070.00720.47
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0060.00319.77
8.2.120.0040.00426.35
8.2.110.0100.01020.35
8.2.100.0090.00318.03
8.2.90.0080.00018.15
8.2.80.0040.00417.97
8.2.70.0040.00417.93
8.2.60.0000.00717.93
8.2.50.0000.00818.10
8.2.40.0070.00019.32
8.2.30.0040.00419.49
8.2.20.0050.00218.23
8.2.10.0000.00818.20
8.2.00.0000.00719.50
8.1.280.0120.00925.92
8.1.270.0040.00422.07
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00322.46
8.1.230.0040.00722.69
8.1.220.0050.00317.79
8.1.210.0040.00418.92
8.1.200.0060.00317.35
8.1.190.0060.00317.25
8.1.180.0030.00518.10
8.1.170.0040.00418.46
8.1.160.0040.00418.91
8.1.150.0030.00518.91
8.1.140.0070.00017.70
8.1.130.0000.00718.93
8.1.120.0000.00717.50
8.1.110.0000.00717.36
8.1.100.0100.00017.47
8.1.90.0030.00717.42
8.1.80.0000.00717.48
8.1.70.0040.00417.52
8.1.60.0040.00417.59
8.1.50.0030.00517.51
8.1.40.0060.00317.51
8.1.30.0030.00517.65
8.1.20.0000.00717.70
8.1.10.0060.00317.57
8.1.00.0080.00017.56
8.0.300.0040.00419.90
8.0.290.0080.00016.75
8.0.280.0030.00318.32
8.0.270.0000.00717.24
8.0.260.0030.00517.25
8.0.250.0030.00316.82
8.0.240.0030.00317.00
8.0.230.0030.00316.79
8.0.220.0000.00716.78
8.0.210.0080.00016.82
8.0.200.0070.00316.97
8.0.190.0040.00416.96
8.0.180.0040.00417.06
8.0.170.0000.00817.00
8.0.160.0070.00017.01
8.0.150.0070.00016.85
8.0.140.0000.00816.94
8.0.130.0030.00313.33
8.0.120.0040.00416.96
8.0.110.0000.00716.96
8.0.100.0030.00516.82
8.0.90.0000.00716.91
8.0.80.0070.00816.93
8.0.70.0000.00716.84
8.0.60.0000.00717.01
8.0.50.0040.00416.96
8.0.30.0080.01017.10
8.0.20.0090.01017.40
8.0.10.0040.00417.02
8.0.00.0140.01116.78
7.4.330.0000.00415.55
7.4.320.0030.00316.64
7.4.300.0020.00516.49
7.4.290.0030.00416.50
7.4.280.0080.00316.51
7.4.270.0040.00716.42
7.4.260.0000.00716.61
7.4.250.0040.00416.52
7.4.240.0050.00316.51
7.4.230.0000.00716.63
7.4.220.0040.00416.70
7.4.210.0050.01216.58
7.4.200.0030.00316.25
7.4.160.0080.00716.54
7.4.140.0110.01017.86
7.4.130.0130.00316.45
7.4.120.0110.00816.50
7.4.110.0030.01316.55
7.4.100.0070.01016.50
7.4.90.0100.01016.40
7.4.80.0100.01419.39
7.4.70.0160.00616.70
7.4.60.0090.00616.59
7.4.50.0070.01016.49
7.4.40.0070.01016.55
7.4.00.0090.00315.12
7.3.330.0030.00313.22
7.3.320.0030.00313.19
7.3.310.0040.00416.23
7.3.300.0000.00716.23
7.3.290.0000.00616.16
7.3.280.0120.00316.25
7.3.260.0090.00916.41
7.3.240.0100.01016.47
7.3.230.0030.01416.49
7.3.210.0150.00816.38
7.3.200.0070.01416.27
7.3.190.0100.00616.27
7.3.180.0090.00616.44
7.3.170.0040.01216.26
7.3.160.0130.00716.58
7.2.330.0100.01316.55
7.2.320.0000.01616.55
7.2.310.0070.01016.36
7.2.300.0100.01316.80
7.2.290.0130.00816.47
7.2.60.0080.00516.68
7.2.50.0110.00416.80
7.2.40.0080.00516.70
7.2.30.0040.01216.70
7.2.20.0060.00916.78
7.2.10.0130.00316.55
7.2.00.0090.00616.71
7.1.200.0030.01015.84
7.1.170.0080.00515.66
7.1.160.0060.00615.69
7.1.150.0030.00915.36
7.1.140.0070.01015.85
7.1.130.0040.01115.50
7.1.120.0110.00315.57
7.1.110.0050.01415.71
7.1.100.0090.00815.61
7.1.90.0060.00815.75
7.1.80.0000.01415.44
7.1.70.0080.00415.38
7.1.60.0210.01433.41
7.1.50.0260.00933.80
7.1.40.0240.01033.60
7.1.30.0280.00933.57
7.1.20.0190.01633.70
7.1.10.0070.01015.79
7.1.00.0080.00415.73

preferences:
60.47 ms | 400 KiB | 5 Q