3v4l.org

run code in 300+ PHP versions simultaneously
<?php $match = []; try { echo $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.00318.31
8.3.50.0120.00318.07
8.3.40.0110.00419.02
8.3.30.0120.00318.79
8.3.20.0080.00019.15
8.3.10.0040.00421.21
8.3.00.0000.00723.56
8.2.180.0120.01216.63
8.2.170.0100.01022.96
8.2.160.0110.00320.35
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0050.00319.66
8.2.120.0000.00826.35
8.2.110.0030.00719.46
8.2.100.0110.00017.97
8.2.90.0000.01019.30
8.2.80.0060.00317.97
8.2.70.0000.00817.93
8.2.60.0050.00317.93
8.2.50.0000.00718.10
8.2.40.0000.00719.41
8.2.30.0030.00519.46
8.2.20.0050.00518.18
8.2.10.0000.00818.04
8.2.00.0000.00719.29
8.1.280.0140.00725.92
8.1.270.0040.00422.02
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0090.00022.74
8.1.230.0110.00317.77
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0000.00917.35
8.1.190.0000.00817.22
8.1.180.0030.00518.10
8.1.170.0000.00818.65
8.1.160.0070.00018.70
8.1.150.0070.00018.71
8.1.140.0000.00719.32
8.1.130.0000.00818.99
8.1.120.0000.00717.31
8.1.110.0000.00717.32
8.1.100.0000.01017.38
8.1.90.0030.00917.43
8.1.80.0070.00017.29
8.1.70.0080.00017.27
8.1.60.0050.00517.46
8.1.50.0000.00817.34
8.1.40.0000.00817.41
8.1.30.0040.00417.59
8.1.20.0000.00817.54
8.1.10.0040.00417.47
8.1.00.0000.00817.52
8.0.300.0000.00818.84
8.0.290.0040.00416.63
8.0.280.0030.00318.38
8.0.270.0030.00317.16
8.0.260.0070.00017.22
8.0.250.0030.00316.96
8.0.240.0030.00316.97
8.0.230.0040.00416.96
8.0.220.0050.00716.87
8.0.210.0070.00016.75
8.0.200.0060.00016.95
8.0.190.0080.00016.94
8.0.180.0040.00416.80
8.0.170.0040.00416.91
8.0.160.0040.00316.84
8.0.150.0040.00416.71
8.0.140.0040.00416.87
8.0.130.0030.00313.35
8.0.120.0030.00616.75
8.0.110.0000.00716.90
8.0.100.0030.00516.84
8.0.90.0040.00416.74
8.0.80.0060.01016.88
8.0.70.0000.00716.91
8.0.60.0040.00416.69
8.0.50.0000.00816.84
8.0.30.0110.00817.12
8.0.20.0110.00817.40
8.0.10.0000.00716.90
8.0.00.0100.00716.93
7.4.330.0020.00215.55
7.4.320.0000.00616.59
7.4.300.0060.00016.44
7.4.290.0030.00316.60
7.4.280.0030.00616.54
7.4.270.0090.00316.37
7.4.260.0050.00316.57
7.4.250.0070.00016.41
7.4.240.0070.00016.55
7.4.230.0000.00716.36
7.4.220.0050.00316.52
7.4.210.0120.00516.46
7.4.200.0000.00716.19
7.4.160.0100.00616.49
7.4.140.0110.00917.86
7.4.130.0110.00516.48
7.4.120.0100.01016.46
7.4.110.0130.00316.58
7.4.100.0110.00616.39
7.4.90.0070.01016.31
7.4.80.0070.01519.39
7.4.70.0090.01216.55
7.4.60.0120.00316.57
7.4.50.0070.01016.58
7.4.40.0210.00316.46
7.4.00.0030.01415.02
7.3.330.0050.00013.18
7.3.320.0040.00213.25
7.3.310.0030.00316.39
7.3.300.0030.00316.11
7.3.290.0040.00416.28
7.3.280.0080.00616.32
7.3.260.0080.01116.34
7.3.240.0110.00616.40
7.3.230.0060.00916.32
7.3.210.0140.00416.17
7.3.200.0090.00916.42
7.3.190.0090.01216.38
7.3.180.0120.00316.56
7.3.170.0060.01416.38
7.3.160.0060.00916.36
7.3.120.0100.00714.69
7.3.110.0030.01015.03
7.3.100.0070.01014.93
7.3.90.0040.00814.89
7.3.80.0060.01014.70
7.3.70.0060.00614.86
7.3.60.0070.00714.62
7.3.50.0030.01014.76
7.3.40.0060.00614.43
7.3.30.0030.01314.72
7.3.20.0000.01216.58
7.3.10.0100.00416.58
7.3.00.0110.00316.60
7.2.330.0100.01316.61
7.2.320.0060.01316.43
7.2.310.0070.01116.64
7.2.300.0090.01216.69
7.2.290.0030.01416.64
7.2.250.0060.01014.87
7.2.240.0100.01014.77
7.2.230.0000.01814.91
7.2.220.0030.01014.92
7.2.210.0030.01214.91
7.2.200.0030.00615.02
7.2.190.0040.00414.89
7.2.180.0110.00714.84
7.2.170.0000.01714.86
7.2.130.0120.00316.53
7.2.120.0100.00016.89
7.2.110.0100.00716.59
7.2.100.0060.00916.95
7.2.90.0060.00316.58
7.2.80.0000.01516.79
7.2.70.0070.00316.96
7.2.60.0130.00415.85
7.2.50.0070.01215.61
7.2.40.0060.01515.91
7.2.30.0100.00615.71
7.2.20.0130.00415.79
7.2.10.0100.00515.79
7.2.00.0320.01216.60
7.1.330.0030.01315.54
7.1.320.0070.00315.62
7.1.310.0090.00615.69
7.1.300.0070.00715.74
7.1.290.0070.00715.64
7.1.280.0070.01015.50
7.1.270.0030.01415.83
7.1.260.0050.00515.49
7.1.250.0060.00315.72
7.1.200.0090.00315.85
7.1.170.0200.00013.38
7.1.160.0150.01213.57
7.1.150.0150.01213.73
7.1.140.0240.00013.59
7.1.130.0160.00413.71
7.1.120.0050.00815.57
7.1.110.0050.00815.69
7.1.100.0080.00515.63
7.1.90.0060.00615.79
7.1.80.0080.00515.72
7.1.70.0060.00615.33
7.1.60.0250.00733.56
7.1.50.0290.01033.57
7.1.40.0200.01333.63
7.1.30.0220.01333.34
7.1.20.0230.01633.39
7.1.10.0030.01115.46
7.1.00.0040.00815.68

preferences:
63.78 ms | 400 KiB | 5 Q